From 7570c59c8e7a9e2af9f1723f42889ee084c0353c Mon Sep 17 00:00:00 2001 From: Stepan Date: Tue, 6 Jan 2026 22:47:25 +0100 Subject: [PATCH] Complete Test fixed hook --- api/userTests.ts | 3 +++ 1 file changed, 3 insertions(+) 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