pages/404.tsx is not being picked up by Next.js - https://github.com/vercel/commerce/blob/main/pages/404.tsx
This file has the text The requested page doesn't exist or you don't have access to it.
But the 404 page looks like the default Next.js one e.g. https://demo.vercel.store/foo-bar shows This page could not be found.
This means we can't set our own custom 404 page 😃
pages/404.tsxis not being picked up by Next.js - https://github.com/vercel/commerce/blob/main/pages/404.tsxThis file has the text
The requested page doesn't exist or you don't have access to it.But the 404 page looks like the default Next.js one e.g. https://demo.vercel.store/foo-bar shows
This page could not be found.This means we can't set our own custom 404 page 😃