Blank page on NextJs project even every code was right - culprit was browser extension

 I was working on some Nextjs projects where I have to show the Ads services content, so I created a file called ads-services.js under the pages folder of the NextJs project.

Then, I added the code something like the below:


 






Built it and run it in the browser and everything is blank, cannot see anything.

Found solution after 1/2 hour, either I have to disable the Adblocker extension used in the browser or need to change the ads-service.js file name to something live management-services.js 

Rare headache which makes you bald.


Comments

Popular posts from this blog

Opencart error: Notice: Trying to access array offset on value of type null in ..../vendor/scss.inc.php on line 1753

Creating Class Templates

Fixed: Opencart installation error linux: warning: fopen(system/storage) failed to open stream: Permission denied