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(
139
139
140
140
export function popTransition ( workInProgress : Fiber , current : Fiber | null ) {
141
141
if ( current !== null ) {
142
- if ( enableCache ) {
143
- pop ( resumedCache , workInProgress ) ;
144
- }
145
-
146
142
if ( enableTransitionTracing ) {
147
143
pop ( transitionStack , workInProgress ) ;
148
144
}
145
+
146
+ if ( enableCache ) {
147
+ pop ( resumedCache , workInProgress ) ;
148
+ }
149
149
}
150
150
}
151
151
Original file line number Diff line number Diff line change @@ -139,13 +139,13 @@ export function pushTransition(
139
139
140
140
export function popTransition ( workInProgress : Fiber , current : Fiber | null ) {
141
141
if ( current !== null ) {
142
- if ( enableCache ) {
143
- pop ( resumedCache , workInProgress ) ;
144
- }
145
-
146
142
if ( enableTransitionTracing ) {
147
143
pop ( transitionStack , workInProgress ) ;
148
144
}
145
+
146
+ if ( enableCache ) {
147
+ pop ( resumedCache , workInProgress ) ;
148
+ }
149
149
}
150
150
}
151
151
You can’t perform that action at this time.
0 commit comments