Skip to content

Commit ae40665

Browse files
committed
also remove client render flag on suspend
1 parent 3da4d94 commit ae40665

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ function throwException(
459459
// Schedule the nearest Suspense to re-render the timed out view.
460460
const suspenseBoundary = getNearestSuspenseBoundaryToCapture(returnFiber);
461461
if (suspenseBoundary !== null) {
462+
suspenseBoundary.flags &= ~ForceClientRender;
462463
markSuspenseBoundaryShouldCapture(
463464
suspenseBoundary,
464465
returnFiber,

0 commit comments

Comments
 (0)