I've got my router and routes set up, and now I'm trying to implement the navigation, but router.navigate isn't updating the URL and I'm not sure why.
There's a link on my page that's meant to pull up a different view; the onclick for the link is bound to the navigatePage function:
This is the route it's going to:
Which then calls the function to actually change the views. However, when I run the page, I can see (via console.log) that navigatePage is being called, then the route, but the URL never changes and the default route kicks in (I'm assuming because the URL hasn't been modified?).
Where am I going wrong?