use NoTimestamp instead of -1 (#19182)
Chen Gang committed
Jun 24, 2020 at 04:28 UTC
ffe516f3bf57a13e123411a9ca76b48915a00acb
1 file changed
+1
-1
packages/react-reconciler/src/ReactFiberLane.js
+1
-1
@@ -737,7 +737,7 @@ export function markRootFinished(root: FiberRoot, remainingLanes: Lanes) {
737
const lane = 1 << index;
738
739
// Clear the expiration time
740
- expirationTimes[index] = -1;
740
+ expirationTimes[index] = NoTimestamp;
741
742
lanes &= ~lane;
743
}