feat: fix after kuis
This commit is contained in:
parent
c23a34aa69
commit
2e7a58837d
|
@ -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[]) => {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue