diff --git a/src/components/testQuestion/TestQuestion.jsx b/src/components/testQuestion/TestQuestion.jsx index 88a8723..0200126 100644 --- a/src/components/testQuestion/TestQuestion.jsx +++ b/src/components/testQuestion/TestQuestion.jsx @@ -29,7 +29,9 @@ export const TestQuestion = ({ handleSelect(index)} - $isSelected={selectedAnswer[currentQuestion] === index} + $isSelected={ + isAnswerSelected && selectedAnswer[currentQuestion] === index + } $isAnswerCorrect={ isAnswerCorrect && selectedAnswer[currentQuestion] === index } diff --git a/src/pages/nuguTest/MakeNuguTest.jsx b/src/pages/nuguTest/MakeNuguTest.jsx index 0d7f1c5..9776379 100644 --- a/src/pages/nuguTest/MakeNuguTest.jsx +++ b/src/pages/nuguTest/MakeNuguTest.jsx @@ -26,7 +26,7 @@ export const MakeNuguTest = () => { handleAnswerSelect={handleAnswerSelect} handleNextQuestion={handleNextQuestion} TEST_QUESTION={TEST_QUESTION} - isAnswerinCorrect={true} + isAnswerCorrect={true} isAnswerSelected={isAnswerSelected} />