Skip to content

Commit

Permalink
Revert "Fix unstable_useContextWithBailout dispatcher assignment (#30692
Browse files Browse the repository at this point in the history
)"

This reverts commit 0ad0fac.
  • Loading branch information
jackpope committed Dec 16, 2024
1 parent f7b1273 commit f46450f
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 @@ -4891,7 +4891,7 @@ if (__DEV__) {
};
}
if (enableContextProfiling) {
(HooksDispatcherOnRerenderInDEV: Dispatcher).unstable_useContextWithBailout =
(HooksDispatcherOnUpdateInDEV: Dispatcher).unstable_useContextWithBailout =
function <T>(
context: ReactContext<T>,
select: (T => Array<mixed>) | null,
Expand Down

0 comments on commit f46450f

Please sign in to comment.