diff options
author | Rohan Raj Gupta <78433013+rohan09-raj@users.noreply.github.com> | 2022-08-26 02:02:18 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 02:02:18 +0530 |
commit | 97a55c3e161cb5100dc56fcc67fb5444224f25df (patch) | |
tree | b4fdf42270b89d9403bfa9ae3babbef68c368434 /client/src/pages/Update/BiometricSelect/BiometricSelect.jsx | |
parent | 9441c80c7e58a8c82638fed3c91a26091001f141 (diff) | |
parent | 53cbdd324347e721ced8e69e1907b352dffc2e37 (diff) |
Merge branch 'develop' into develop
Diffstat (limited to 'client/src/pages/Update/BiometricSelect/BiometricSelect.jsx')
-rw-r--r-- | client/src/pages/Update/BiometricSelect/BiometricSelect.jsx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/client/src/pages/Update/BiometricSelect/BiometricSelect.jsx b/client/src/pages/Update/BiometricSelect/BiometricSelect.jsx index 89d2bfb..cf6cae8 100644 --- a/client/src/pages/Update/BiometricSelect/BiometricSelect.jsx +++ b/client/src/pages/Update/BiometricSelect/BiometricSelect.jsx @@ -5,20 +5,31 @@ import SubmitButton from '../../../components/SubmitButton/SubmitButton' import { Link } from 'react-router-dom' import PopUpModal from '../../../components/Modal/Modal' import { useTranslation } from 'react-i18next' +import AudioAutoplay from '../../../components/AudioAutoplay/AudioAutoplay' const BiometricSelect = ({ page, setPage }) => { const { t } = useTranslation() - const description = ['CLICK_ON_THE_EDIT_BUTTON_TO_UPDATE_THE_REQUIRED_BIOMETRICS', 'YOU_CAN_EDIT_YOUR_PHOTOGRAPH_/_FINGERPRINTS_/_IRIS_SCANS'] + const description = [ + 'CLICK_ON_THE_EDIT_BUTTON_TO_UPDATE_THE_REQUIRED_BIOMETRICS', + 'YOU_CAN_EDIT_YOUR_PHOTOGRAPH_/_FINGERPRINTS_/_IRIS_SCANS' + ] return ( <> <Header subheading={t('UPDATE')} /> + <AudioAutoplay + audio={`${process.env.PUBLIC_URL}/assets/audios/biometric-update`} + /> <PopUpModal title="SELECT_THE_OPTION_TO_BE_EDITED" image={`${process.env.PUBLIC_URL}/assets/images/biometrics.svg`} description={ <> <ul> - {description.map((item) => (<li className="list__item" key='id'>{t(item)}</li>))} + {description.map((item) => ( + <li className="list__item" key="id"> + {t(item)} + </li> + ))} </ul> </> } |