Skip to content

Commit

Permalink
fix react query options
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidOpDeBeeck committed Apr 28, 2024
1 parent 571f4a9 commit 607f9ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rcaas-ui/src/queries/project/useUpdateProjectMutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export const useUpdateProjectMutation = () => {
path: `/projects/${projectId}`,
method: "PUT",
onSuccess: (queryClient) => {
void queryClient.invalidateQueries(['project'])
void queryClient.invalidateQueries({
queryKey: ['project']
})
}
});
}

0 comments on commit 607f9ce

Please sign in to comment.