Calling a method inside a if condition - React

前端 未结 0 1657
别那么骄傲
别那么骄傲 2021-01-15 09:31

before render a component I need to check whether the user authenticated. if not, the user will redirect to the login page.

I created a separate file with a class cal

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