I'm getting error
GET http://localhost:3000/null 404 (Not Found)
in the console. I am using next js v12.1.6.
I am not going to the url localhost:3000/null. getting the error logged on the home page localhost:3000. Website is working perfectly otherwise. Looking at some other answers, which said it could be caused by a wrong img src, but this is not true in my case since I have only 1 image in my whole app and even after removing the img, the error still persisted.
My index.js file can be found here
My _app.js file can be found here
My file structure:
first, create a page in pages/null.js in nextjs.