feat: fix after kuis

This commit is contained in:
mphstar 2025-03-03 11:28:22 +07:00
parent c23a34aa69
commit 2e7a58837d
2 changed files with 12 additions and 2 deletions

View File

@ -46,7 +46,11 @@ const MenyusunHuruf = () => {
icon: "success",
title: "Kuis telah selesai",
text: `Anda menyelesaikan kuis dalam waktu ${quizStore.time} detik`,
});
})
quizStore.setSession(false);
quizStore.setIsFinish(false);
quizStore.setName("");
};
const shuffleArray = (array: any[]) => {

View File

@ -95,7 +95,13 @@ const TebakHuruf = () => {
<p>Jawaban benar: ${benar}</p>
<p>Jawaban salah: ${salah}</p>
`,
});
})
quizStore.setSession(false);
quizStore.setIsFinish(false);
quizStore.setName("");
};
const router = useNavigate();