We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd0a5ca commit 6b9f849Copy full SHA for 6b9f849
compliance-web/src/hooks/useStaff.tsx
@@ -44,7 +44,7 @@ export const useStaffUsersData = (filters: {
44
otherPositions: true,
45
}) => {
46
return useQuery({
47
- queryKey: ["staff-users"],
+ queryKey: ["staff-users", filters],
48
queryFn: async () => {
49
let staffUsers = await fetchStaffUsers();
50
staffUsers = staffUsers.sort((a, b) => a.name.localeCompare(b.name));
0 commit comments