Skip to content

Commit

Permalink
Revert "Fix unstable_useContextWithBailout incorrect dispatcher assig…
Browse files Browse the repository at this point in the history
…nment (#30673)"

This reverts commit d48603a.
  • Loading branch information
jackpope committed Dec 16, 2024
1 parent f46450f commit 693d471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberHooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -5115,7 +5115,7 @@ if (__DEV__) {
};
}
if (enableContextProfiling) {
(InvalidNestedHooksDispatcherOnMountInDEV: Dispatcher).unstable_useContextWithBailout =
(HooksDispatcherOnUpdateInDEV: Dispatcher).unstable_useContextWithBailout =
function <T>(
context: ReactContext<T>,
select: (T => Array<mixed>) | null,
Expand Down

0 comments on commit 693d471

Please sign in to comment.