mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-07 00:03:44 -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.