fix: 퀴즈 종료 메시지 안보이는 문제 수정
This commit is contained in:
parent
3d037460f7
commit
d5fb731346
@ -52,7 +52,7 @@ export default function QuizSet({ quizSetId, finish }) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (prev + 1 === quizList.length) {
|
||||
if (prev === quizList.length) {
|
||||
submit(answers.current);
|
||||
return Infinity;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user