diff options
author | Blaster4385 <[email protected]> | 2022-08-25 11:44:08 +0530 |
---|---|---|
committer | Blaster4385 <[email protected]> | 2022-08-25 11:44:08 +0530 |
commit | fcc4c3374d85b33755f852bcc559db0a8eb5115a (patch) | |
tree | 266005279ac7996b479e2cb3b5d48ccebd041290 /client/src/pages/Enrollment/FormTwo/FormTwo.jsx | |
parent | 3450e5ad9c59403b9ad75aa24e71a1b925f7bbcf (diff) |
Misc changes and add more translation
Diffstat (limited to 'client/src/pages/Enrollment/FormTwo/FormTwo.jsx')
-rw-r--r-- | client/src/pages/Enrollment/FormTwo/FormTwo.jsx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/client/src/pages/Enrollment/FormTwo/FormTwo.jsx b/client/src/pages/Enrollment/FormTwo/FormTwo.jsx index b4a53ed..e7c8ae1 100644 --- a/client/src/pages/Enrollment/FormTwo/FormTwo.jsx +++ b/client/src/pages/Enrollment/FormTwo/FormTwo.jsx @@ -10,22 +10,17 @@ import PopUpModal from '../../../components/Modal/Modal' const FormTwo = () => { const { t } = useTranslation() const { userData, setUserData } = userContext() + const description = ['ENTER_YOUR_10_DIGIT_MOBILE_NUMBER_WITHOUT_ANY_PREFIX_OR_COUNTRY_ID', 'ENTER_YOUR_EMAIL_ID'] return ( <> <Header subheading={t('ENROLLMENT')} /> <PopUpModal - title="Fill your information" + title="FILL_YOUR_INFORMATION" image={`${process.env.PUBLIC_URL}/assets/images/communication.svg`} description={ <> <ul> - <li className="list__item"> - Enter your 10 digit mobile number without any prefix or country - code - </li> - <li className="list__item"> - Enter your email address in proper format - </li> + {description.map((item) => (<li className="list__item" key='id'>{t(item)}</li>))} </ul> </> } |