Remove unnecessary condition
Dan Abramov committed
Apr 16, 2019 at 19:10 UTC
3a6d6560903e882db8776017594ceab79e66a9da
1 file changed
+1
-1
src/backend/renderer.js
+1
-1
@@ -964,7 +964,7 @@ export function attach(
964
const nextFallbackChildSet = nextFiber.child.sibling;
965
mountFiberRecursively(nextFallbackChildSet, nextFiber, true);
966
shouldResetChildren = true;
967
- } else if (!prevDidTimeout && !nextDidTimeOut) {
967
+ } else {
968
// Common case: Primary -> Primary.
969
// This is the same codepath as for non-Suspense fibers.
970
if (nextFiber.child !== prevFiber.child) {