DEV Community

ivkeMilioner
ivkeMilioner

Posted on • Edited on

3 2

Deconstruction to not work

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>
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
emmiep profile image
Emmie Päivärinta

Can you show where you use the component? It's probably a problem there rather in than in the component itself.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More