diff --git a/frontend/src/screens/create-task-group.tsx b/frontend/src/screens/create-task-group.tsx index 447fd84..a7d72d5 100644 --- a/frontend/src/screens/create-task-group.tsx +++ b/frontend/src/screens/create-task-group.tsx @@ -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);