I've got these routes:
/locations/index.tsx
/locations/edit/[locationid].tsx
Each of these routes work perfectly in isolation. However, when the user navigates (using Link or router.push) from the second route to the first (i.e. back from a single location to the locations index), the URL in the browser changes, but the page content does not.
I'm 100% sure this is me not understanding something about sub-routes, so I'd be super grateful if someone could please show me the error of my ways! Many thanks ๐