From 2bc0d7e3e50bc43649502f580805784f192b8f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EA=B8=B0=EC=98=81?= Date: Thu, 8 Aug 2024 10:31:29 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=84=A0=ED=83=9D=EC=A7=80=EA=B0=80=20?= =?UTF-8?q?=EC=9E=88=EB=8A=94=20=EA=B2=BD=EC=9A=B0=EB=A7=8C=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=EC=A7=80=20=EB=9D=BC=EB=B2=A8=EC=9D=B4=20=EB=82=98?= =?UTF-8?q?=EC=98=A4=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/QuizForm/QuizDetailCard.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/QuizForm/QuizDetailCard.jsx b/frontend/src/components/QuizForm/QuizDetailCard.jsx index 44f654b..3363ce7 100644 --- a/frontend/src/components/QuizForm/QuizDetailCard.jsx +++ b/frontend/src/components/QuizForm/QuizDetailCard.jsx @@ -3,6 +3,7 @@ import { STATIC_URL } from '../../constants'; export default function QuizCard({ index, question, answer, image, choices }) { // TODO: 정답 / 오답 관련 표현 필요 시 추가 + console.log(choices); return (
@@ -23,7 +24,7 @@ export default function QuizCard({ index, question, answer, image, choices }) {
{question}
{answer}
- + {choices.length > 0 && } {choices.map?.((choice, idx) => (