From d5fb731346565886ad1a0d82529a2e781b65f7fc Mon Sep 17 00:00:00 2001 From: jhynsoo Date: Tue, 6 Aug 2024 17:44:11 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=80=B4=EC=A6=88=20=EC=A2=85=EB=A3=8C?= =?UTF-8?q?=20=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=95=88=EB=B3=B4=EC=9D=B4?= =?UTF-8?q?=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/QuizSet/QuizSet.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }