Skip to content

Commit

Permalink
fix service group query key
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisibrahimd committed Jan 25, 2023
1 parent 8796e1c commit 55b5ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/queries/service-groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function useAddServiceGroupMutation() {

return useMutation(addServiceGroup, {
onSuccess: () => {
return queryClient.invalidateQueries(["serviceGroups"]);
return queryClient.invalidateQueries(["service-groups"]);
},
});
}
Expand Down

0 comments on commit 55b5ab9

Please sign in to comment.