diff --git a/packages/react-reconciler/src/ReactFiberHooks.js b/packages/react-reconciler/src/ReactFiberHooks.js index 518bc6ae24382..64ddc88fd6ab2 100644 --- a/packages/react-reconciler/src/ReactFiberHooks.js +++ b/packages/react-reconciler/src/ReactFiberHooks.js @@ -5115,7 +5115,7 @@ if (__DEV__) { }; } if (enableContextProfiling) { - (InvalidNestedHooksDispatcherOnMountInDEV: Dispatcher).unstable_useContextWithBailout = + (HooksDispatcherOnUpdateInDEV: Dispatcher).unstable_useContextWithBailout = function ( context: ReactContext, select: (T => Array) | null,