diff options
author | Blaster4385 <venkateshchaturvedi12@gmail.com> | 2022-08-24 16:41:44 +0530 |
---|---|---|
committer | Blaster4385 <venkateshchaturvedi12@gmail.com> | 2022-08-24 16:42:17 +0530 |
commit | 481be1ec4c353b1ff00842ec9471cc5df458868f (patch) | |
tree | b34b0a7548a4a342955dda5e1a49842b4b87624c | |
parent | e7c865ec541de142319a570d4fb0ab7b87ee0031 (diff) |
Fix admin panel
-rw-r--r-- | admin/src/components/Accordion/Accordion.jsx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/admin/src/components/Accordion/Accordion.jsx b/admin/src/components/Accordion/Accordion.jsx index fefd39b..9df7fa1 100644 --- a/admin/src/components/Accordion/Accordion.jsx +++ b/admin/src/components/Accordion/Accordion.jsx @@ -16,16 +16,17 @@ const Accordion = ({name, user}) => { </div> {isActive && ( <div className={styles.accordion__content}> - <div>Indian Resident : {user.indianResident}</div> + <div>Indian Resident : {user.indianResident ? 'Yes' : 'No'}</div> <div>Name : {user.name}</div> <div>Gender : {user.gender}</div> <div>Date of Birth : {user.dob}</div> <div>Mobile Number : {user.mobile}</div> <div>Email : {user.email}</div> - <div>Address : {user.address}</div> - <div>Photograph : {user.photo}</div> - <div>Documents : {user.documents.doc1}</div> - <div>Biometrics : {user.biometrics.bio1}</div> + <div>Address : {user.address.houseNo},{user.address.street},{user.address.locality},{user.address.landmark},{user.address.village},{user.address.district.name},{user.address.state.name},{user.address.pincode}</div> + <img src={`${user.photo}`} /> + <img src={`${user.documents.POI}`} /> + <img src={`${user.documents.POA}`} /> + <img src={`${user.documents.DOB}`} /> </div> )} </div> |