From f7e878a393b8b77aade4c5f844ba35e8d598d257 Mon Sep 17 00:00:00 2001 From: Ashesh3 <3626859+Ashesh3@users.noreply.github.com> Date: Tue, 2 Jan 2024 21:05:25 +0530 Subject: [PATCH] Refactor BedTypeCard component to remove unnecessary code --- src/Components/Facility/BedTypeCard.tsx | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/src/Components/Facility/BedTypeCard.tsx b/src/Components/Facility/BedTypeCard.tsx index f7bc4006758..67e22f31f42 100644 --- a/src/Components/Facility/BedTypeCard.tsx +++ b/src/Components/Facility/BedTypeCard.tsx @@ -79,24 +79,9 @@ export const BedTypeCard: React.FC = ({
{label}
- {facilityId && ( - { - setIsRefreshing(true); - handleUpdate(); - }} - className="bg-opacity/10 flex aspect-square w-4 items-center justify-center rounded bg-primary-100 px-4 py-0 hover:bg-primary-200" - > - - - )} + + {usedPercent}% +
{used} / {total}