I am developing market place for solana NFTs by using Next.js.
And I want to hide the error overlay like the following image.
[1]: https://i.stack.imgur.com/fDBi4.png
How to that?
I am developing market place for solana NFTs by using Next.js.
And I want to hide the error overlay like the following image.
[1]: https://i.stack.imgur.com/fDBi4.png
How to that?
The error overlay appears in dev mode, you probably want that not hidden to view the errors and stacktrace.
When deploying to a higher environment like prod, use next build and follow the deployment guide.
However, if you have other reasons to hide the errors, others have tried with partial success - see here