mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove unnecessary condition
This commit is contained in:
@@ -964,7 +964,7 @@ export function attach(
|
||||
const nextFallbackChildSet = nextFiber.child.sibling;
|
||||
mountFiberRecursively(nextFallbackChildSet, nextFiber, true);
|
||||
shouldResetChildren = true;
|
||||
} else if (!prevDidTimeout && !nextDidTimeOut) {
|
||||
} else {
|
||||
// Common case: Primary -> Primary.
|
||||
// This is the same codepath as for non-Suspense fibers.
|
||||
if (nextFiber.child !== prevFiber.child) {
|
||||
|
||||
Reference in New Issue
Block a user