Skip to content

Commit 60415b5

Browse files
authored
fix(ssr): fix suspense hydration of fallback content (#7188)
1 parent 213eba4 commit 60415b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/components/Suspense.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ function createSuspenseBoundary(
464464
timeout: typeof timeout === 'number' ? timeout : -1,
465465
activeBranch: null,
466466
pendingBranch: null,
467-
isInFallback: true,
467+
isInFallback: !isHydrating,
468468
isHydrating,
469469
isUnmounted: false,
470470
effects: [],

0 commit comments

Comments
 (0)