diff --git a/api/userTests.ts b/api/userTests.ts index ad6e758..2cf194a 100644 --- a/api/userTests.ts +++ b/api/userTests.ts @@ -85,6 +85,9 @@ export const useCompleteTestMutation = () => { queryClient.invalidateQueries({ queryKey: ["user-test", testId] }); + queryClient.invalidateQueries({ + queryKey: ["user-tests"] + }); } }); } \ No newline at end of file