mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-07 15:10:45 +03:00
Fix throwing when no source maps on calling forEach
of null
We need here to show frames even if all came from node_modules
This commit is contained in:
parent
801ae0f15e
commit
bc3234253c
|
@ -29,6 +29,7 @@ function getStackFrames(
|
||||||
enhancedFramesPromise = map(parsedFrames, contextSize);
|
enhancedFramesPromise = map(parsedFrames, contextSize);
|
||||||
}
|
}
|
||||||
return enhancedFramesPromise.then(enhancedFrames => {
|
return enhancedFramesPromise.then(enhancedFrames => {
|
||||||
|
/*
|
||||||
if (
|
if (
|
||||||
enhancedFrames
|
enhancedFrames
|
||||||
.map(f => f._originalFileName)
|
.map(f => f._originalFileName)
|
||||||
|
@ -36,6 +37,7 @@ function getStackFrames(
|
||||||
) {
|
) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
return enhancedFrames.filter(
|
return enhancedFrames.filter(
|
||||||
({ functionName }) =>
|
({ functionName }) =>
|
||||||
functionName == null ||
|
functionName == null ||
|
||||||
|
|
Loading…
Reference in New Issue
Block a user