Skip to content

Commit 3e91010

Browse files
handled a missing suspense fiber when suspense is filtered on the profiler
1 parent 4ead6b5 commit 3e91010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-devtools-shared/src/backend/renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1572,7 +1572,7 @@ export function attach(
15721572
if (nextPrimaryChildSet !== null) {
15731573
mountFiberRecursively(
15741574
nextPrimaryChildSet,
1575-
nextFiber,
1575+
shouldIncludeInTree ? nextFiber : parentFiber,
15761576
true,
15771577
traceNearestHostComponentUpdate,
15781578
);

0 commit comments

Comments
 (0)