mirror of
https://github.com/logto-io/logto.git
synced 2025-01-20 21:32:31 -05:00
This reverts commit de4c46e400
.
This commit is contained in:
parent
10c1be6eb7
commit
fa98452fe5
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ const Preview = ({ signInExperience, className }: Props) => {
|
||||||
const availableLanguageOptions = useMemo(() => {
|
const availableLanguageOptions = useMemo(() => {
|
||||||
if (signInExperience && !signInExperience.languageInfo.autoDetect) {
|
if (signInExperience && !signInExperience.languageInfo.autoDetect) {
|
||||||
return languageOptions.filter(
|
return languageOptions.filter(
|
||||||
({ value }) => value === signInExperience.languageInfo.fallbackLanguage
|
({ value }) => value === signInExperience.languageInfo.fixedLanguage
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue