diff --git a/src/Components/Medicine/MedicineAdministrationSheet/AdministrationTable.tsx b/src/Components/Medicine/MedicineAdministrationSheet/AdministrationTable.tsx index 18d27bf1651..98fa1021f9f 100644 --- a/src/Components/Medicine/MedicineAdministrationSheet/AdministrationTable.tsx +++ b/src/Components/Medicine/MedicineAdministrationSheet/AdministrationTable.tsx @@ -97,9 +97,10 @@ export default function MedicineAdministrationTable({ - {prescriptions.map((obj) => ( + {prescriptions.map((obj, index) => ( void; readonly: boolean; + id: string; } export default function MedicineAdministrationTableRow({ @@ -171,6 +172,7 @@ export default function MedicineAdministrationTableRow({ "group transition-all duration-200 ease-in-out", loading ? "bg-gray-300" : "bg-white hover:bg-primary-100", )} + id={props.id} >