react-quiz
react-quiz copied to clipboard
I'm not sure what is the issue :(
Hello!
I followed the video step by step and got this error
Then I checked and compared the code with Github - found nothing that could be causing this error I copied and paste your code into my project and folders - same thing :( I just finished comparing tsconfig and package json - they are the same :( Do you have any ideas?
Hey ... can it be that the API is down? Because this error is telling you that there's nothing to map over. My code should work 100% when I released the tutorial.
Thomas
Den tors 10 juni 2021 kl 23:00 skrev Fewwy @.***>:
Hello! I followed the video step by step and got this error [image: image] https://user-images.githubusercontent.com/62722417/121595741-e002e000-ca3e-11eb-8f44-efdad7b48057.png
Then I checked and compared the code with Github - found nothing that could be causing this error I copied and paste your code into my project and folders - same thing :( I just finished comparing tsconfig and package json - they are the same :( Do you have any ideas?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/weibenfalk/react-quiz/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVRL3UNSYNCOVGO6IRZP2DTSERVZANCNFSM46PLQHNQ .
Hello,
I seem to be getting the same error.
Never mind. I went back through and left an "s" off of answers so it just said answer in my API.ts. 🙄
Error boundaries are React components that catch JavaScript errors anywhere in their child component tree, log those errors, and display a fallback UI instead of the component tree that crashed. The above error occurred in the <QuestionCard> ... The code was working perfectly fine when I initially deployed the app, will check the link to the media API . Ianejm, I am not sure what you did in API.ts file?
My problem was a typo error I made. Once I corrected it, everything worked.