Skip to content

Commit

Permalink
fix: use query key config object
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-wasmeier-titanom committed May 21, 2024
1 parent 0a29393 commit 1e4a785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/screens/create-task-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function CreateTaskGroupScreen() {
resetForm({ ...defaultValues });
setSelectedUserIds([]);
setDate(new Date());
queryClient.refetchQueries({ queryKey: ["taskGroup"] });
queryClient.refetchQueries({ queryKey: [queryKeys.taskGroups] });
},
onError: (err) => {
console.error(err);
Expand Down

0 comments on commit 1e4a785

Please sign in to comment.