File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,6 @@ import {
85
85
StaticMask ,
86
86
MutationMask ,
87
87
Passive ,
88
- Incomplete ,
89
- ShouldCapture ,
90
88
ForceClientRender ,
91
89
SuspenseyCommit ,
92
90
ScheduleRetry ,
@@ -839,7 +837,7 @@ function completeDehydratedSuspenseBoundary(
839
837
) {
840
838
warnIfUnhydratedTailNodes ( workInProgress ) ;
841
839
resetHydrationState ( ) ;
842
- workInProgress . flags |= ForceClientRender | Incomplete | ShouldCapture ;
840
+ workInProgress . flags |= ForceClientRender | DidCapture ;
843
841
844
842
return false ;
845
843
}
@@ -1284,7 +1282,7 @@ function completeWork(
1284
1282
nextState ,
1285
1283
) ;
1286
1284
if ( ! fallthroughToNormalSuspensePath ) {
1287
- if ( workInProgress . flags & ShouldCapture ) {
1285
+ if ( workInProgress . flags & ForceClientRender ) {
1288
1286
// Special case. There were remaining unhydrated nodes. We treat
1289
1287
// this as a mismatch. Revert to client rendering.
1290
1288
return workInProgress ;
You can’t perform that action at this time.
0 commit comments