From bd2c12238ab5859a31376fb408f15f433cacc9c2 Mon Sep 17 00:00:00 2001 From: Sulochan Khadka <122200551+Sulochan-khadka@users.noreply.github.com> Date: Mon, 15 Apr 2024 23:51:30 +0530 Subject: [PATCH] Commented out showFacilities --- src/Components/Facility/FacilityUsers.tsx | 84 +++++++++++------------ 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/src/Components/Facility/FacilityUsers.tsx b/src/Components/Facility/FacilityUsers.tsx index 1840220aea4..65db5d3558d 100644 --- a/src/Components/Facility/FacilityUsers.tsx +++ b/src/Components/Facility/FacilityUsers.tsx @@ -192,48 +192,48 @@ export default function FacilityUsers(props: any) { // // ); // } - return ( -
-
- {facilities.map((facility, i) => ( -
-
-
{facility.name}
- - setUnlinkFacilityData({ - show: true, - facility: facility, - userName: username, - }) - } - > - - -
-
- ))} -
- {showLinkFacility(username)} - {unlinkFacilityData.show && ( - - )} -
- ); - }; + // return ( + //
+ //
+ // {facilities.map((facility, i) => ( + //
+ //
+ //
{facility.name}
+ // + // setUnlinkFacilityData({ + // show: true, + // facility: facility, + // userName: username, + // }) + // } + // > + // + // + //
+ //
+ // ))} + //
+ // {showLinkFacility(username)} + // {unlinkFacilityData.show && ( + // + // )} + //
+ // ); + // }; const addFacility = async (username: string, facility: any) => { hideLinkFacilityModal();