Closed aramikuto closed 3 hours ago
I think this is fixed by: #71583
@theoludwig thank you for pointing this out. I checked the new canary version (v15.0.1-canary.2), and the error is no longer present. I’ll go ahead and close this issue since it's been resolved.
Link to the code that reproduces this issue
https://github.com/aramikuto/nextjs-15-not-found-error-overlay
To Reproduce
Current vs. Expected behavior
Expected behavior:
A 404 page should be displayed without any additional errors.
Current behavior:
The 404 page is displayed, but the error overlay is triggered as well. The error overlay should not be triggered since the notFound function is being intentionally used to display the 404 page.
Provide environment information
Which area(s) are affected? (Select all that apply)
Navigation
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
Error content: