score:3

Accepted answer
return (
    <div className="Quest">
      {question && question.question && <div className="question">{question.question}</div>}
      {question && question.answerChoices && <div className="options">{question.answerChoices}</div>}
    </div>
  );

Related Query

More Query from same tag