React protected routes - Allow access to a second route

前端 未结 0 780
耶瑟儿~
耶瑟儿~ 2021-01-06 02:37

I stumbled upon the issue where my protected route logic is disabling my register page as well.

// SecuredRoute.js

export default (props) => {
  const isL         


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