fix(test): fix quit test logic

This commit is contained in:
shafin-r
2026-03-12 19:50:52 +06:00
parent 25cfd2383b
commit d7fb618e6f

View File

@ -1170,6 +1170,7 @@ export const Test = () => {
const handleQuitExam = () => { const handleQuitExam = () => {
useExamConfigStore.getState().clearPayload(); useExamConfigStore.getState().clearPayload();
quitExam(); quitExam();
navigate("/student/home", { replace: true });
}; };
const toggleEliminate = (questionId: string, optionId: string) => { const toggleEliminate = (questionId: string, optionId: string) => {