Merge pull request 'fix(test): fix quit test logic' (#8) from web into main
Reviewed-on: #8
This commit is contained in:
@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user