mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove unnecessary flag check (#24284)
This commit is contained in:
1 parent
af730436c0
commit
ece5295e5a
2 files changed
+2
-2
No files matched your search
@@ -1399,7 +1399,7 @@ function updateHostRoot(current, workInProgress, renderLanes) {
|
||||
} else {
|
||||
// The outermost shell has not hydrated yet. Start hydrating.
|
||||
enterHydrationState(workInProgress);
|
||||
if (enableUseMutableSource && supportsHydration) {
|
||||
if (enableUseMutableSource) {
|
||||
const mutableSourceEagerHydrationData =
|
||||
root.mutableSourceEagerHydrationData;
|
||||
if (mutableSourceEagerHydrationData != null) {
|
||||
|
||||
@@ -1399,7 +1399,7 @@ function updateHostRoot(current, workInProgress, renderLanes) {
|
||||
} else {
|
||||
// The outermost shell has not hydrated yet. Start hydrating.
|
||||
enterHydrationState(workInProgress);
|
||||
if (enableUseMutableSource && supportsHydration) {
|
||||
if (enableUseMutableSource) {
|
||||
const mutableSourceEagerHydrationData =
|
||||
root.mutableSourceEagerHydrationData;
|
||||
if (mutableSourceEagerHydrationData != null) {
|
||||
|
||||
Reference in new issue
Block a user