mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove redundant logic (#13502)
This commit is contained in:
+1
-4
@@ -1564,10 +1564,7 @@ function computeExpirationForFiber(currentTime: ExpirationTime, fiber: Fiber) {
|
||||
// This is an interactive update. Keep track of the lowest pending
|
||||
// interactive expiration time. This allows us to synchronously flush
|
||||
// all interactive updates when needed.
|
||||
if (
|
||||
lowestPriorityPendingInteractiveExpirationTime === NoWork ||
|
||||
expirationTime > lowestPriorityPendingInteractiveExpirationTime
|
||||
) {
|
||||
if (expirationTime > lowestPriorityPendingInteractiveExpirationTime) {
|
||||
lowestPriorityPendingInteractiveExpirationTime = expirationTime;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user