summaryrefslogtreecommitdiff
path: root/client/src/pages/Update/Agreement/Agreement.jsx
diff options
context:
space:
mode:
authorrohan09-raj <rajrohan1914@gmail.com>2022-08-16 12:15:55 +0530
committerrohan09-raj <rajrohan1914@gmail.com>2022-08-16 12:15:55 +0530
commit1c9a3d21cc3479d299181d98fb895614e0aaf649 (patch)
treed871c9821cab708ed7f12169db6d59a8128c76ce /client/src/pages/Update/Agreement/Agreement.jsx
parent5be7add30a629474c9269355b875ab310a82ba4c (diff)
random bullshit
Diffstat (limited to 'client/src/pages/Update/Agreement/Agreement.jsx')
-rw-r--r--client/src/pages/Update/Agreement/Agreement.jsx16
1 files changed, 9 insertions, 7 deletions
diff --git a/client/src/pages/Update/Agreement/Agreement.jsx b/client/src/pages/Update/Agreement/Agreement.jsx
index 95bef8a..6452bd8 100644
--- a/client/src/pages/Update/Agreement/Agreement.jsx
+++ b/client/src/pages/Update/Agreement/Agreement.jsx
@@ -6,20 +6,22 @@ import Input from '../../../components/Input/Input'
import { Grid, Button } from '@mui/material'
import { Link } from 'react-router-dom'
import SubmitButton from '../../../components/SubmitButton/SubmitButton'
+import { useTranslation } from 'react-i18next'
const Agreement = () => {
+ const { t } = useTranslation()
return (
<>
- <Header subheading="Enrollment" />
+ <Header subheading={t('UPDATE')} />
<div className={styles.card__container}>
<CardAgreement
image={`${process.env.PUBLIC_URL}/assets/images/agreement.svg`}
/>
</div>
- <Input
+ <Input
type="text"
id="otp"
- label="Please verify your identity by receiving the OTP on your registered mobile number xxxxxxxx15"
+ label={t('PLEASE_VERIFY_YOUR_IDENTITY')}
placeholder="XXXX"
/>
<Grid container columnSpacing={10} justifyContent="center">
@@ -30,7 +32,7 @@ const Agreement = () => {
type="submit"
variant="contained"
>
- Send OTP
+ {t('SEND_OTP')}
</Button>
</Grid>
<Grid item>
@@ -40,12 +42,12 @@ const Agreement = () => {
type="submit"
variant="contained"
>
- Resend
+ {t('RESEND')}
</Button>
</Grid>
</Grid>
- <Link to ="/update/final-slip">
- <SubmitButton />
+ <Link to="/update/final-slip">
+ <SubmitButton />
</Link>
</>
)