From 1e4a7857f25390a705945627c2667b22f2874291 Mon Sep 17 00:00:00 2001 From: julian-wasmeier-titanom Date: Tue, 21 May 2024 23:48:39 +0200 Subject: [PATCH] fix: use query key config object --- frontend/src/screens/create-task-group.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);