Answer the question
In order to leave comments, you need to log in
Why doesn't authentication work?
https://codesandbox.io/s/wooq0n6j3k
on the /private route for non-authorized users redirect to the main, authorized information
/signup sets the authenticated key to true
The problem is that the redirect does not respond to a non-authorized user, and does not show information to an authorized user
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question