File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3489,8 +3489,8 @@ export const ContextOnlyDispatcher: Dispatcher = {
3489
3489
useContext : throwInvalidHookError ,
3490
3490
useEffect : throwInvalidHookError ,
3491
3491
useImperativeHandle : throwInvalidHookError ,
3492
- useInsertionEffect : throwInvalidHookError ,
3493
3492
useLayoutEffect : throwInvalidHookError ,
3493
+ useInsertionEffect : throwInvalidHookError ,
3494
3494
useMemo : throwInvalidHookError ,
3495
3495
useReducer : throwInvalidHookError ,
3496
3496
useRef : throwInvalidHookError ,
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ const hostTransitionProviderCursor: StackCursor<Fiber | null> =
46
46
// inside useHostTransitionStatus.
47
47
export const HostTransitionContext : ReactContext < TransitionStatus | null > = {
48
48
$$typeof : REACT_CONTEXT_TYPE ,
49
+ Provider : ( null : any ) ,
50
+ Consumer : ( null : any ) ,
49
51
_currentValue : null ,
50
52
_currentValue2 : null ,
51
53
_threadCount : 0 ,
52
- Provider : ( null : any ) ,
53
- Consumer : ( null : any ) ,
54
54
} ;
55
55
56
56
function requiredContext < Value > (c: Value | null): Value {
You can’t perform that action at this time.
0 commit comments