I am facing this error:
“ERROR Error: Uncaught (in promise): navigation stack needs at least one root page”
First I am on home page tab, then after clicking on user picture I am going to visit clicked user’s profile page(new component). Then I am going to click any other tab. Now when I click on home page, I cannot see home page, instead of this I am viewing clicked user’s profile page. I want to get rid of this.
I am doing this code