diff --git a/src/Components/Users/ManageUsers.tsx b/src/Components/Users/ManageUsers.tsx index 99a88b20600..ddcad2d0cd2 100644 --- a/src/Components/Users/ManageUsers.tsx +++ b/src/Components/Users/ManageUsers.tsx @@ -591,6 +591,7 @@ export function UserFacilities(props: { user: any }) { facility?: FacilityModel; isHomeFacility: boolean; }>({ show: false, userName: "", facility: undefined, isHomeFacility: false }); + const authUser = useAuthUser(); const [replaceHomeFacility, setReplaceHomeFacility] = useState<{ show: boolean; @@ -766,39 +767,39 @@ export function UserFacilities(props: { user: any }) { {user?.home_facility_object && (