Redirect Router issue

Hi,

I am using Brwoser Router with following code

And I would like to switch to forgot component without clicking any link…based on if and else condition then how to do it.

Can you post your code again? Use the code formatting button in the toolbar to help you make sure the code is formatted properly :slight_smile: