From d7fb618e6fab82919de93e39c1eef98b605da8ed Mon Sep 17 00:00:00 2001 From: shafin-r Date: Thu, 12 Mar 2026 19:50:52 +0600 Subject: [PATCH] fix(test): fix quit test logic --- src/pages/student/practice/Test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/student/practice/Test.tsx b/src/pages/student/practice/Test.tsx index 42fa009..3f7a47d 100644 --- a/src/pages/student/practice/Test.tsx +++ b/src/pages/student/practice/Test.tsx @@ -1170,6 +1170,7 @@ export const Test = () => { const handleQuitExam = () => { useExamConfigStore.getState().clearPayload(); quitExam(); + navigate("/student/home", { replace: true }); }; const toggleEliminate = (questionId: string, optionId: string) => {