diff --git a/packages/react-reconciler/src/ReactFiberLane.new.js b/packages/react-reconciler/src/ReactFiberLane.new.js index 4a8344d19e1e6..8290c75e882ec 100644 --- a/packages/react-reconciler/src/ReactFiberLane.new.js +++ b/packages/react-reconciler/src/ReactFiberLane.new.js @@ -859,13 +859,6 @@ export function clearTransitionsForLanes(root: FiberRoot, lanes: Lane | Lanes) { const transitions = root.transitionLanes[index]; if (transitions !== null) { root.transitionLanes[index] = null; - } else { - if (__DEV__) { - console.error( - 'React Bug: transition lanes accessed out of bounds index: %s', - index.toString(), - ); - } } lanes &= ~lane; diff --git a/packages/react-reconciler/src/ReactFiberLane.old.js b/packages/react-reconciler/src/ReactFiberLane.old.js index 280fbefe688a8..1725183736384 100644 --- a/packages/react-reconciler/src/ReactFiberLane.old.js +++ b/packages/react-reconciler/src/ReactFiberLane.old.js @@ -859,13 +859,6 @@ export function clearTransitionsForLanes(root: FiberRoot, lanes: Lane | Lanes) { const transitions = root.transitionLanes[index]; if (transitions !== null) { root.transitionLanes[index] = null; - } else { - if (__DEV__) { - console.error( - 'React Bug: transition lanes accessed out of bounds index: %s', - index.toString(), - ); - } } lanes &= ~lane;