diff --git a/packages/react-reconciler/src/ReactFiberLane.js b/packages/react-reconciler/src/ReactFiberLane.js index 42b2fc6f9a3d6..45c8810c7f477 100644 --- a/packages/react-reconciler/src/ReactFiberLane.js +++ b/packages/react-reconciler/src/ReactFiberLane.js @@ -647,11 +647,7 @@ export function markRootSuspended(root: FiberRoot, suspendedLanes: Lanes) { } } -export function markRootPinged( - root: FiberRoot, - pingedLanes: Lanes, - eventTime: number, -) { +export function markRootPinged(root: FiberRoot, pingedLanes: Lanes) { root.pingedLanes |= root.suspendedLanes & pingedLanes; } diff --git a/packages/react-reconciler/src/ReactFiberWorkLoop.js b/packages/react-reconciler/src/ReactFiberWorkLoop.js index cd9f1498c655b..264d497d8f7e9 100644 --- a/packages/react-reconciler/src/ReactFiberWorkLoop.js +++ b/packages/react-reconciler/src/ReactFiberWorkLoop.js @@ -3369,7 +3369,7 @@ function pingSuspendedRoot( } const eventTime = requestEventTime(); - markRootPinged(root, pingedLanes, eventTime); + markRootPinged(root, pingedLanes); warnIfSuspenseResolutionNotWrappedWithActDEV(root);