We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11cb34c commit 22e78caCopy full SHA for 22e78ca
src/pages/PatientDirectory/PatientDirectory.tsx
@@ -150,7 +150,7 @@ const PatientDirectory: React.FC<{ searchTerm?: string }> = ({ searchTerm }) =>
150
<PatientsList>
151
{patients.results.map((patient) => (
152
<div
153
- key={`patient_${patient.national_id}_${selectedOption}`}
+ key={patient.id}
154
css={{ marginBottom: '8px' }}
155
>
156
<PatientCard {...patient} selectedHospital={selectedOption} />
0 commit comments