diff --git a/frontend/src/components/QuizSet/QuizSet.jsx b/frontend/src/components/QuizSet/QuizSet.jsx index d228ac0..859010c 100644 --- a/frontend/src/components/QuizSet/QuizSet.jsx +++ b/frontend/src/components/QuizSet/QuizSet.jsx @@ -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; }