I'm doing a tutorial from scrimba for react and react router 6 and I'm encountering an error with the provided data. The error says 67:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON P
and is at line 9 which is .then(data => setVans(data.vans))
…
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)