File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -685,7 +685,8 @@ function updateOffscreenComponent(
685
685
) {
686
686
const nextProps : OffscreenProps = workInProgress . pendingProps ;
687
687
const nextChildren = nextProps . children ;
688
- const isPendingDetached = ( workInProgress . stateNode . _pendingVisibility & OffscreenDetached ) !== 0 ;
688
+ const isPendingDetached =
689
+ ( workInProgress . stateNode . _pendingVisibility & OffscreenDetached ) !== 0 ;
689
690
690
691
const prevState : OffscreenState | null =
691
692
current !== null ? current . memoizedState : null ;
Original file line number Diff line number Diff line change @@ -2883,7 +2883,7 @@ function commitMutationEffectsOnFiber(
2883
2883
// to support batching of `attach` and `detach` calls.
2884
2884
finishedWork . stateNode . _visibility &= ~ OffscreenDetached ;
2885
2885
finishedWork . stateNode . _visibility |=
2886
- finishedWork . stateNode . _pendingVisibility & OffscreenDetached ;
2886
+ finishedWork . stateNode . _pendingVisibility & OffscreenDetached ;
2887
2887
2888
2888
if ( flags & Visibility ) {
2889
2889
const offscreenInstance : OffscreenInstance = finishedWork . stateNode ;
You can’t perform that action at this time.
0 commit comments