From da56108f1dc51dbde756dd0f4cd3c96452aa0d18 Mon Sep 17 00:00:00 2001
From: Blaster4385 <venkateshchaturvedi12@gmail.com>
Date: Sat, 20 Aug 2022 21:54:49 +0530
Subject: IDK

---
 client/src/pages/Update/Update.jsx | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'client/src/pages/Update/Update.jsx')

diff --git a/client/src/pages/Update/Update.jsx b/client/src/pages/Update/Update.jsx
index 63343f1..2ef98ec 100644
--- a/client/src/pages/Update/Update.jsx
+++ b/client/src/pages/Update/Update.jsx
@@ -5,23 +5,25 @@ import Input from '../../components/Input/Input'
 import { Grid, Button } from '@mui/material'
 import { userContext } from '../../context/User'
 import { useNavigate } from 'react-router-dom'
+import { useTranslation } from 'react-i18next'
 
 const Update = () => {
   const { aadhaarNumber, setAadhaarNumber } = userContext()
 
   const navigate = useNavigate()
+  const { t } = useTranslation()
 
   return (
     <>
-      <Header subheading="Update" />
+      <Header subheading={`${t('UPDATE')}`} />
       <div className={styles.subheading__container}>
-        <h3 className={styles.subheading}> Provide Aadhaar Number (UID): </h3>
+        <h3 className={styles.subheading}> {t('PROVIDE_AADHAAR_NUMBER')} </h3>
         <Input
           type="text"
           id="aadhaarNumber"
           value={aadhaarNumber}
           onChange={(e) => setAadhaarNumber(e.target.value)}
-          placeholder="Enter your Aadhaar Number"
+          placeholder={`${t('ENTER_YOUR_AADHAAR_NUMBER')}`}
           required
         />
         <Grid container columnSpacing={10} justifyContent="center">
@@ -35,7 +37,7 @@ const Update = () => {
                 navigate('/update/otp')
               }}
             >
-              Submit
+              {t('SUBMIT')}
             </Button>
           </Grid>
         </Grid>
-- 
cgit 

