File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,13 @@ export function pushTransition(
139139
140140export function popTransition ( workInProgress : Fiber , current : Fiber | null ) {
141141 if ( current !== null ) {
142- if ( enableCache ) {
143- pop ( resumedCache , workInProgress ) ;
144- }
145-
146142 if ( enableTransitionTracing ) {
147143 pop ( transitionStack , workInProgress ) ;
148144 }
145+
146+ if ( enableCache ) {
147+ pop ( resumedCache , workInProgress ) ;
148+ }
149149 }
150150}
151151
Original file line number Diff line number Diff line change @@ -139,13 +139,13 @@ export function pushTransition(
139139
140140export function popTransition ( workInProgress : Fiber , current : Fiber | null ) {
141141 if ( current !== null ) {
142- if ( enableCache ) {
143- pop ( resumedCache , workInProgress ) ;
144- }
145-
146142 if ( enableTransitionTracing ) {
147143 pop ( transitionStack , workInProgress ) ;
148144 }
145+
146+ if ( enableCache ) {
147+ pop ( resumedCache , workInProgress ) ;
148+ }
149149 }
150150}
151151
You can’t perform that action at this time.
0 commit comments