Skip to content

Commit

Permalink
Update FacilityUsers.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Sulochan-khadka authored Apr 13, 2024
1 parent 2483b2b commit 8ea9e6e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Components/Facility/FacilityUsers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,6 @@ export default function FacilityUsers(props: any) {

{user.username && (
<UserDetails title="Facilities">
{user.facilities &&
showFacilities(user.username, user.facilities)}
{!user.facilities && (
<ButtonV2
id="facilities"
className="flex w-full items-center @sm:w-1/2"
Expand All @@ -340,10 +337,9 @@ export default function FacilityUsers(props: any) {
setSelectedUser(user);
}}
>
<CareIcon className="care-l-hospital text-lg" />
<CareIcon icon="l-hospital" className="text-lg" />
<p>Linked Facilities</p>
</ButtonV2>
)}
</UserDetails>
)}
</div>
Expand Down

0 comments on commit 8ea9e6e

Please sign in to comment.