I am building a proto and want to have a conditional when my user clicks the profile button on the home page. If the app state 'isAuthenticated' is set to false, navigate to log-in page; if app state is set to true, navigate to profile page. It keeps sending me back to the profile page though even though the default app state is set to false.
Navigation based on app state not working?
Actions & Logic
I tried changing the default state to true at first. I also tried to disconnect and reconnect everything.
No
1
5 replies