mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Fix unstable_useContextWithBailout incorrect dispatcher assignment (#30673)
Fixing a mistaken copy from another dispatcher property assignment
This commit is contained in:
@@ -4839,7 +4839,7 @@ if (__DEV__) {
|
||||
};
|
||||
}
|
||||
if (enableContextProfiling) {
|
||||
(HooksDispatcherOnUpdateInDEV: Dispatcher).unstable_useContextWithBailout =
|
||||
(InvalidNestedHooksDispatcherOnMountInDEV: Dispatcher).unstable_useContextWithBailout =
|
||||
function <T>(
|
||||
context: ReactContext<T>,
|
||||
select: (T => Array<mixed>) | null,
|
||||
|
||||
Reference in New Issue
Block a user