File tree 2 files changed +2
-2
lines changed
packages/react-reconciler/src
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1635,7 +1635,7 @@ function mountIndeterminateComponent(
1635
1635
Component ,
1636
1636
renderLanes ,
1637
1637
) {
1638
- if ( _current !== null ) {
1638
+ if ( _current !== null && ( workInProgress . mode & ConcurrentMode ) === NoMode ) {
1639
1639
// An indeterminate component only mounts if it suspended inside a non-
1640
1640
// concurrent tree, in an inconsistent state. We want to treat it like
1641
1641
// a new mount, even though an empty version of it already committed.
Original file line number Diff line number Diff line change @@ -1635,7 +1635,7 @@ function mountIndeterminateComponent(
1635
1635
Component ,
1636
1636
renderLanes ,
1637
1637
) {
1638
- if ( _current !== null ) {
1638
+ if ( _current !== null && ( workInProgress . mode & ConcurrentMode ) === NoMode ) {
1639
1639
// An indeterminate component only mounts if it suspended inside a non-
1640
1640
// concurrent tree, in an inconsistent state. We want to treat it like
1641
1641
// a new mount, even though an empty version of it already committed.
You can’t perform that action at this time.
0 commit comments