Skip to content

Commit a263481

Browse files
committed
Remove dupe ConcurrentRoot
1 parent e17afb6 commit a263481

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-reconciler/src/ReactFiberWorkLoop.new.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2624,7 +2624,7 @@ function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) {
26242624
return;
26252625
}
26262626

2627-
if (!(fiber.mode & (ConcurrentMode | ConcurrentMode))) {
2627+
if (!(fiber.mode & ConcurrentMode)) {
26282628
return;
26292629
}
26302630

packages/react-reconciler/src/ReactFiberWorkLoop.old.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2624,7 +2624,7 @@ function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) {
26242624
return;
26252625
}
26262626

2627-
if (!(fiber.mode & (ConcurrentMode | ConcurrentMode))) {
2627+
if (!(fiber.mode & ConcurrentMode)) {
26282628
return;
26292629
}
26302630

0 commit comments

Comments
 (0)