Wrong page displayed after navigateTo() in route middleware
I have a global route middleware that checks a cookie for user data, and redirects if the user is missing a particular attribute. I'm using the navigateTo function, and the result is that the URL is updated correctly, but the contents of the page look mixed. I have the previous page's contents, plus a button from the page I was trying to redirect to.
Is there something I'm doing wrong in the redirect?
Is there something I'm doing wrong in the redirect?
