Route guard while using ionic + react

前端 未结 0 1851
予麋鹿
予麋鹿 2021-02-14 16:20

I want to redirect the unauthenticated user to /login. I have a property in my context called user, when it is an empty object i want to make a redirec

相关标签:
回答
  • 消灭零回复
提交回复
热议问题