after 10 questions it goes to loading
I've fixed the quiz completion logic by reordering the condition check in the selectAnswer function. The issue was that after answering the 10th question, the code was trying to access an 11th question that doesn't exist, causing the loading state to appear. Now it properly transitions to the results screen immediately after answering the final question.
v30 was created by restoring v23
Built with v0 can you remove