diff --git a/src/app/(panels)/suite/doctor/patients/page.jsx b/src/app/(panels)/suite/doctor/patients/page.jsx index 3143076..1912cdc 100644 --- a/src/app/(panels)/suite/doctor/patients/page.jsx +++ b/src/app/(panels)/suite/doctor/patients/page.jsx @@ -70,32 +70,28 @@ export default function PatientsDOC() {

Patients

- {userData && userData.role === 'caregiver' && ( -
-
- {finalPatients.map(patient => ( - -
-
-

{patient.name}

-

Age: {patient.age}

-

Last Checkup: {new Date(patient.lastCheckup).toLocaleDateString()}

-
- - - -
- - - -
- ))} -
-
- )} +
+ {finalPatients.map(patient => ( + +
+
+

{patient.name}

+

Age: {patient.age}

+

Last Checkup: {new Date(patient.lastCheckup).toLocaleDateString()}

+
+ + + +
+ + + +
+ ))} +
)