Deconstruction to not work
function QuziLogic({
currentQuestion, questions, handleAnswerOptionClick, countDownBarWith, totalTime,
}) {
return (
<>
<div className={styles.questionCount}>
<p className={styles.questionText}>What is the output?</p>
<p className={styles.questionText}>
Question
{currentQuestion + 1}
/
{questions.length}
</p>
</div>
Top comments (1)
Can you show where you use the component? It's probably a problem there rather in than in the component itself.