summaryrefslogtreecommitdiff
path: root/client/src/pages/CheckStatus/EnrollmentStatus.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/pages/CheckStatus/EnrollmentStatus.jsx')
-rw-r--r--client/src/pages/CheckStatus/EnrollmentStatus.jsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/pages/CheckStatus/EnrollmentStatus.jsx b/client/src/pages/CheckStatus/EnrollmentStatus.jsx
index d1e1f4d..90fa118 100644
--- a/client/src/pages/CheckStatus/EnrollmentStatus.jsx
+++ b/client/src/pages/CheckStatus/EnrollmentStatus.jsx
@@ -6,6 +6,7 @@ import styles from './EnrollmentStatus.module.css'
import { Button } from '@mui/material'
import { useNavigate } from 'react-router-dom'
import { userContext } from '../../context/User'
+import AudioAutoplay from '../../components/AudioAutoplay/AudioAutoplay'
const EnrollmentStatus = () => {
const { t } = useTranslation()
@@ -20,6 +21,9 @@ const EnrollmentStatus = () => {
<h3 className={styles.status__title}>{t('STATUS')}</h3>
{!userData?.verified ? (
<>
+ <AudioAutoplay
+ audio={`${process.env.PUBLIC_URL}/assets/audios/your-aadhaar-enrollment-status-pending`}
+ />
<img
src={`${process.env.PUBLIC_URL}/assets/images/pending.svg`}
alt=""
@@ -36,6 +40,9 @@ const EnrollmentStatus = () => {
</>
) : (
<>
+ <AudioAutoplay
+ audio={`${process.env.PUBLIC_URL}/assets/audios/your-aadhaar-enrollment-status-approved`}
+ />
<img
src={`${process.env.PUBLIC_URL}/assets/images/approved.svg`}
alt=""