From 4764b4807c69051dd089124d1f6f6eff1fa52e25 Mon Sep 17 00:00:00 2001 From: mrfry Date: Thu, 13 Apr 2023 08:18:14 +0200 Subject: [PATCH] possible answers fix 2 --- src/components/Question.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Question.js b/src/components/Question.js index 571bf3a..3058466 100644 --- a/src/components/Question.js +++ b/src/components/Question.js @@ -67,10 +67,13 @@ export default function Question({ question, onChange, index }) { // {"text":"a. Kétismeretlenes egyenletrendszert használunk.", // "selectedByUser":true} + console.log(possibleAnswer) const pa = typeof possibleAnswer === 'string' ? possibleAnswer : possibleAnswer.val + ? possibleAnswer.val + : possibleAnswer.text return (