aboutsummaryrefslogtreecommitdiff
path: root/modern/src/components/registration/LoginForm.js
diff options
context:
space:
mode:
authorrahighi <rahighi>2021-08-28 09:41:25 +0430
committerrahighi <rahighi>2021-08-28 09:41:25 +0430
commit545f0d8223e88631f8d7c13077ffe5bae78716cb (patch)
tree51d4c2132b2136208c0f18603ff6bf53b2983fd3 /modern/src/components/registration/LoginForm.js
parent332681f36dc9814e51c61d0e310f6c5d8a0f0c20 (diff)
downloadtrackermap-web-545f0d8223e88631f8d7c13077ffe5bae78716cb.tar.gz
trackermap-web-545f0d8223e88631f8d7c13077ffe5bae78716cb.tar.bz2
trackermap-web-545f0d8223e88631f8d7c13077ffe5bae78716cb.zip
Only multiple language support feature
Diffstat (limited to 'modern/src/components/registration/LoginForm.js')
-rw-r--r--modern/src/components/registration/LoginForm.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/modern/src/components/registration/LoginForm.js b/modern/src/components/registration/LoginForm.js
index c5c1d6f2..461a1ab6 100644
--- a/modern/src/components/registration/LoginForm.js
+++ b/modern/src/components/registration/LoginForm.js
@@ -62,9 +62,9 @@ const LoginForm = () => {
}
};
- const handleLanguageChange = e => {
+ const handleLanguageChange = (e) => {
setLanguage(e.target.value);
- }
+ };
return (
<StartPage>
@@ -130,7 +130,7 @@ const LoginForm = () => {
<FormControl variant="filled" fullWidth>
<InputLabel>{t('loginLanguage')}</InputLabel>
<Select value={language} onChange={handleLanguageChange}>
- {languageList.map(lang => <MenuItem key={lang.code} value={lang.code}>{lang.name}</MenuItem>)}
+ {languageList.map((lang) => <MenuItem key={lang.code} value={lang.code}>{lang.name}</MenuItem>)}
</Select>
</FormControl>
</Grid>
@@ -145,7 +145,6 @@ const LoginForm = () => {
</Grid>
</StartPage>
);
-
};
export default LoginForm;