diff --git a/packages/react-reconciler/src/ReactFiberWorkLoop.new.js b/packages/react-reconciler/src/ReactFiberWorkLoop.new.js index f0f5eab4a99f5..740ed6dca40a5 100644 --- a/packages/react-reconciler/src/ReactFiberWorkLoop.new.js +++ b/packages/react-reconciler/src/ReactFiberWorkLoop.new.js @@ -86,7 +86,6 @@ import { cancelTimeout, noTimeout, afterActiveInstanceBlur, - clearContainer, getCurrentEventPriority, supportsMicrotasks, errorHydratingContainer, @@ -885,7 +884,6 @@ function recoverFromConcurrentError(root, errorRetryLanes) { if (__DEV__) { errorHydratingContainer(root.containerInfo); } - clearContainer(root.containerInfo); } let exitStatus; diff --git a/packages/react-reconciler/src/ReactFiberWorkLoop.old.js b/packages/react-reconciler/src/ReactFiberWorkLoop.old.js index 353de50e1585a..673da7908c289 100644 --- a/packages/react-reconciler/src/ReactFiberWorkLoop.old.js +++ b/packages/react-reconciler/src/ReactFiberWorkLoop.old.js @@ -86,7 +86,6 @@ import { cancelTimeout, noTimeout, afterActiveInstanceBlur, - clearContainer, getCurrentEventPriority, supportsMicrotasks, errorHydratingContainer, @@ -885,7 +884,6 @@ function recoverFromConcurrentError(root, errorRetryLanes) { if (__DEV__) { errorHydratingContainer(root.containerInfo); } - clearContainer(root.containerInfo); } let exitStatus;