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:
commit
afd7b10869
@ -52,7 +52,7 @@ export default function QuizSet({ quizSetId, finish }) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (prev + 1 === quizList.length) {
|
if (prev === quizList.length) {
|
||||||
submit(answers.current);
|
submit(answers.current);
|
||||||
return Infinity;
|
return Infinity;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user