mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-02 20:02:00 -05:00
currentIndex, selectedChoice and correct state variables of the Quiz component were not changing when navigating to other quiz challenges through map. I fixed it by calling resetQuiz() whenever dashedName of the quiz changes.