[Bug]: Authenticated Routes white screen #8612
Unanswered
alphonso06
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of React Router are you using?
6.2.1
Steps to Reproduce
I had a previously functional piece of code that suddenly stopped working after the recent version, so I checked what was going on. I followed some examples from this thread.
App.jsx
ProtectedRoutes.jsx
Expected Behavior
Not white screen.
Actual Behavior
Blank white screen with no compile errors.
It's also giving me this in the console. Don't know what to do with it either.
![image](https://user-images.githubusercontent.com/43776043/150775528-04395c79-5398-46a0-8df2-6b1edfe8f20d.png)
Beta Was this translation helpful? Give feedback.
All reactions