Merge branch 'fe/fixQuizSubmit' into 'frontend'

[Front-End] Fe/fix quiz submit

See merge request s11-webmobile1-sub2/S11P12A701!73
This commit is contained in:
조민우 2024-08-06 17:45:14 +09:00
commit afd7b10869

View File

@ -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;
}