File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3584,7 +3584,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
35843584 // the begin phase. There's still some bookkeeping we that needs to be done
35853585 // in this optimized path, mostly pushing stuff onto the stack.
35863586 switch ( workInProgress . tag ) {
3587- case HostRoot :
3587+ case HostRoot : {
35883588 pushHostRootContext ( workInProgress ) ;
35893589 const root : FiberRoot = workInProgress . stateNode ;
35903590 pushRootTransition ( workInProgress , root , renderLanes ) ;
@@ -3597,6 +3597,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
35973597 pushCacheProvider ( workInProgress , cache ) ;
35983598 resetHydrationState ( ) ;
35993599 break ;
3600+ }
36003601 case HostSingleton :
36013602 case HostComponent :
36023603 pushHostContext ( workInProgress ) ;
You can’t perform that action at this time.
0 commit comments