From 545f0d8223e88631f8d7c13077ffe5bae78716cb Mon Sep 17 00:00:00 2001 From: rahighi Date: Sat, 28 Aug 2021 09:41:25 +0430 Subject: Only multiple language support feature --- modern/src/components/registration/LoginForm.js | 7 +++---- modern/src/components/registration/RegisterForm.js | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'modern/src/components') 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 ( @@ -130,7 +130,7 @@ const LoginForm = () => { {t('loginLanguage')} @@ -145,7 +145,6 @@ const LoginForm = () => { ); - }; export default LoginForm; diff --git a/modern/src/components/registration/RegisterForm.js b/modern/src/components/registration/RegisterForm.js index 3a249c60..6260a0c5 100644 --- a/modern/src/components/registration/RegisterForm.js +++ b/modern/src/components/registration/RegisterForm.js @@ -4,9 +4,9 @@ import { } from '@material-ui/core'; import { useHistory } from 'react-router-dom'; import ArrowBackIcon from '@material-ui/icons/ArrowBack'; +import ArrowForwardIcon from '@material-ui/icons/ArrowForward'; import StartPage from '../../StartPage'; import t from '../../common/localization'; -import ArrowForwardIcon from '@material-ui/icons/ArrowForward'; const useStyles = makeStyles((theme) => ({ register: { @@ -61,7 +61,7 @@ const RegisterForm = () => { history.push('/login')}> - {theme.direction === 'rtl' ? : } + {theme.direction === 'rtl' ? : } -- cgit v1.2.3