This is the error I get when I click on the button. I need to switch from one screen to another on button click.
The code is as below:
import { Navigat