aboutsummaryrefslogtreecommitdiff
path: root/modern/src/login/LoginPage.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/login/LoginPage.jsx')
-rw-r--r--modern/src/login/LoginPage.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/login/LoginPage.jsx b/modern/src/login/LoginPage.jsx
index 3ccb954f..94321298 100644
--- a/modern/src/login/LoginPage.jsx
+++ b/modern/src/login/LoginPage.jsx
@@ -50,7 +50,7 @@ const LoginPage = () => {
const t = useTranslation();
const { languages, language, setLanguage } = useLocalization();
- const languageList = Object.entries(languages).map((values) => ({ code: values[0], countryCode: values[1].countryCode, name: values[1].name }));
+ const languageList = Object.entries(languages).map((values) => ({ code: values[0], country: values[1].country, name: values[1].name }));
const [failed, setFailed] = useState(false);
@@ -211,7 +211,7 @@ const LoginPage = () => {
<Select label={t('loginLanguage')} value={language} onChange={(e) => setLanguage(e.target.value)}>
{languageList.map((it) => (
<MenuItem key={it.code} value={it.code}>
- {getFlagEmoji(it.countryCode)}
+ {getFlagEmoji(it.country)}
&nbsp;&nbsp;
{it.name}
</MenuItem>