Skip to content

Commit

Permalink
Fix: Facility name update in facility switcher (#10665)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishith25 authored Feb 18, 2025
1 parent 4bb0fb7 commit f3359ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Facility/FacilityForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ export default function FacilityForm({
queryClient.invalidateQueries({
queryKey: ["facility"],
});
queryClient.invalidateQueries({
queryKey: ["currentUser"],
});
form.reset();
onSubmitSuccess?.();
},
Expand Down

0 comments on commit f3359ea

Please sign in to comment.