From f334a4a14a11f9888ca9c481cdc844fa7c263dcf Mon Sep 17 00:00:00 2001 From: "Hiu Long Kam (Sonny)" Date: Sun, 4 Aug 2024 20:50:21 +1000 Subject: [PATCH] Updated import --- frontend/src/components/keys/Keys.jsx | 14 +++++++------- ...teMultipleKeys.jsx => useDeleteMultipleKeys.js} | 0 2 files changed, 7 insertions(+), 7 deletions(-) rename frontend/src/mutators/Keys/{useDeleteMultipleKeys.jsx => useDeleteMultipleKeys.js} (100%) diff --git a/frontend/src/components/keys/Keys.jsx b/frontend/src/components/keys/Keys.jsx index b0752f7c..ebe316a0 100644 --- a/frontend/src/components/keys/Keys.jsx +++ b/frontend/src/components/keys/Keys.jsx @@ -202,15 +202,15 @@ const Keys = () => { onClick={(e) => handleSelectRow(e, key.key_id)} /> - + handleSelectRow(e, key.key_id)} sx={{cursor: "pointer"}}> - {key.key_set} - {propertyAddress} - {"John Smith"} - {key.key_status === "On Loan" ? key.key_issued : "N/A"} - {key.key_status === "On Loan" ? key.key_due : "N/A"} - {key.key_status === "On Loan" ? "Jane Doe" : "N/A"} + handleSelectRow(e, key.key_id)} sx={{cursor: "pointer"}}>{key.key_set} + handleSelectRow(e, key.key_id)} sx={{cursor: "pointer"}}>{propertyAddress} + handleSelectRow(e, key.key_id)} sx={{cursor: "pointer"}}>{"John Smith"} + handleSelectRow(e, key.key_id)} sx={{cursor: "pointer"}}>{key.key_status === "On Loan" ? key.key_issued : "N/A"} + handleSelectRow(e, key.key_id)} sx={{cursor: "pointer"}}>{key.key_status === "On Loan" ? key.key_due : "N/A"} + handleSelectRow(e, key.key_id)} sx={{cursor: "pointer"}}>{key.key_status === "On Loan" ? "Jane Doe" : "N/A"} { buttonTitle === "Check Out" ? ( diff --git a/frontend/src/mutators/Keys/useDeleteMultipleKeys.jsx b/frontend/src/mutators/Keys/useDeleteMultipleKeys.js similarity index 100% rename from frontend/src/mutators/Keys/useDeleteMultipleKeys.jsx rename to frontend/src/mutators/Keys/useDeleteMultipleKeys.js