Skip to content

Commit

Permalink
Fix unstable_useContextWithBailout dispatcher assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Pope committed Aug 14, 2024
1 parent f6d1df6 commit d38136c
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 @@ -4622,7 +4622,7 @@ if (__DEV__) {
};
}
if (enableContextProfiling) {
(HooksDispatcherOnUpdateInDEV: Dispatcher).unstable_useContextWithBailout =
(HooksDispatcherOnRerenderInDEV: Dispatcher).unstable_useContextWithBailout =
function <T>(
context: ReactContext<T>,
select: (T => Array<mixed>) | null,
Expand Down

0 comments on commit d38136c

Please sign in to comment.