next.js
7e8af593 - reset to arrow func

Commit
34 days ago
reset to arrow func The reset() method in AppDevOverlayErrorBoundary is defined as a regular class method but passed as a callback, causing this to be unbound when invoked by the child component, which will crash with a TypeError on this.setState. Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Author
Committer
Parents
Loading