whatthestone/milliondollarquestion

Reset showAns after page reroute to ans screen

Opened this issue · 0 comments

After the user indicates their preferences on the Qn screen, showAns=true and page reroute to Ans screen.

Since showAns is not reset back to false, navigating to the main page continues to bring the user to Ans screen unless page refresh.

For some reason, setting showAns to false on Ans screen still cause page to reroute to Ans screen.

TODO: Need to figure out a way to reset showAns to false after page reroutes to Ans screen.