We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab81262 commit 79af0fcCopy full SHA for 79af0fc
packages/react-error-overlay/src/utils/errorRegister.js
@@ -36,7 +36,7 @@ function consume(
36
if (
37
enhancedFrames
38
.map(f => f._originalFileName)
39
- .filter(f => f == null || f.indexOf('node_modules') === -1).length === 0
+ .filter(f => f != null && f.indexOf('node_modules') === -1).length === 0
40
) {
41
return null;
42
}
0 commit comments