File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/react-devtools-shared/src/backend/fiber Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3164,9 +3164,11 @@ export function attach(
31643164 reconcilingParent = stashedParent;
31653165 previouslyReconciledSibling = stashedPrevious;
31663166 remainingReconcilingChildren = stashedRemaining;
3167- reconcilingParentSuspenseNode = stashedSuspenseParent;
3168- previouslyReconciledSiblingSuspenseNode = stashedSuspensePrevious;
3169- remainingReconcilingChildrenSuspenseNodes = stashedSuspenseRemaining;
3167+ if (instance.suspenseNode !== null) {
3168+ reconcilingParentSuspenseNode = stashedSuspenseParent;
3169+ previouslyReconciledSiblingSuspenseNode = stashedSuspensePrevious;
3170+ remainingReconcilingChildrenSuspenseNodes = stashedSuspenseRemaining;
3171+ }
31703172 }
31713173 if (instance.kind === FIBER_INSTANCE) {
31723174 recordUnmount(instance);
You can’t perform that action at this time.
0 commit comments