Skip to content

Commit ffe516f

Browse files
authored
use NoTimestamp instead of -1 (facebook#19182)
1 parent 1425fcb commit ffe516f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-reconciler/src/ReactFiberLane.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ export function markRootFinished(root: FiberRoot, remainingLanes: Lanes) {
737737
const lane = 1 << index;
738738

739739
// Clear the expiration time
740-
expirationTimes[index] = -1;
740+
expirationTimes[index] = NoTimestamp;
741741

742742
lanes &= ~lane;
743743
}

0 commit comments

Comments
 (0)