I'm using pages router and my current pages directory looks like this:
pages
- index.tsx
- customer
- [customerId]
- x.tsx
- y.tsx
- [customerId]
- working.tsx
For some reason when clicking any link that should navigate the user to /customer/[customerId]/x or y triggers a hard refresh which makes the _app.tsx file refresh itself too.
Routes such as /working is working completely fine and there is no hard refresh. What could be the issue?