Link won't navigate to app/not-found.tsx in app dir

Hi I made a sandbox example to demo this https://codesandbox.io/p/sandbox/elastic-julien-q8713m?file=%2FREADME.md

If I delete the app/not-found.tsx then next links will work as expected (with the default 404 page), am I doing something wrong or is this a bug, ty.
CodeSandbox is an online editor tailored for web applications.
Solution
Never mind seems to just be an issue with local development i tried deploying the same project on vercel and it works fine xd
Was this page helpful?