Skip to content

Commit a775a76

Browse files
NE-SmallTownacdlite
authored andcommitted
Remove redundant logic (#13502)
1 parent 2c7b78f commit a775a76

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/react-reconciler/src/ReactFiberScheduler.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,10 +1564,7 @@ function computeExpirationForFiber(currentTime: ExpirationTime, fiber: Fiber) {
15641564
// This is an interactive update. Keep track of the lowest pending
15651565
// interactive expiration time. This allows us to synchronously flush
15661566
// all interactive updates when needed.
1567-
if (
1568-
lowestPriorityPendingInteractiveExpirationTime === NoWork ||
1569-
expirationTime > lowestPriorityPendingInteractiveExpirationTime
1570-
) {
1567+
if (expirationTime > lowestPriorityPendingInteractiveExpirationTime) {
15711568
lowestPriorityPendingInteractiveExpirationTime = expirationTime;
15721569
}
15731570
}

0 commit comments

Comments
 (0)