File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -548,8 +548,8 @@ export function scheduleUpdateOnFiber(
548548 ensureRootIsScheduled ( root , eventTime ) ;
549549 schedulePendingInteractions ( root , lane ) ;
550550 if (
551- ( fiber . mode & ConcurrentMode ) === NoMode &&
552- executionContext === NoContext
551+ executionContext === NoContext &&
552+ ( fiber . mode & ConcurrentMode ) === NoMode
553553 ) {
554554 // Flush the synchronous work now, unless we're already working or inside
555555 // a batch. This is intentionally inside scheduleUpdateOnFiber instead of
Original file line number Diff line number Diff line change @@ -548,8 +548,8 @@ export function scheduleUpdateOnFiber(
548548 ensureRootIsScheduled ( root , eventTime ) ;
549549 schedulePendingInteractions ( root , lane ) ;
550550 if (
551- ( fiber . mode & ConcurrentMode ) === NoMode &&
552- executionContext === NoContext
551+ executionContext === NoContext &&
552+ ( fiber . mode & ConcurrentMode ) === NoMode
553553 ) {
554554 // Flush the synchronous work now, unless we're already working or inside
555555 // a batch. This is intentionally inside scheduleUpdateOnFiber instead of
You can’t perform that action at this time.
0 commit comments