I got stuck with custom 404 error page. I have created 404.js in pages folder following instruction in NextJS docs but it still uses default page in NextJS. Does anyone know this issue? Thank in advance.
Dependency:
"next": "9.2.2"
next.config.js just has env config.