fix: finish quiz tebak huruf
This commit is contained in:
parent
c7f37f589e
commit
2c9703f581
|
@ -160,7 +160,6 @@ const Quiz = () => {
|
||||||
noSoal++;
|
noSoal++;
|
||||||
previousResult = [];
|
previousResult = [];
|
||||||
quizStore.setSoalIndex(noSoal);
|
quizStore.setSoalIndex(noSoal);
|
||||||
}, 500);
|
|
||||||
|
|
||||||
if (noSoal === quizStore.listSoal.length) {
|
if (noSoal === quizStore.listSoal.length) {
|
||||||
quizStore.setSession(false);
|
quizStore.setSession(false);
|
||||||
|
@ -177,6 +176,7 @@ const Quiz = () => {
|
||||||
|
|
||||||
navigate("/kuis/tebak-huruf");
|
navigate("/kuis/tebak-huruf");
|
||||||
}
|
}
|
||||||
|
}, 300);
|
||||||
}, 2000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue