Skip to content

Commit

Permalink
fix(ssr): fix suspense hydration of fallback content (#7188)
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 authored Dec 8, 2023
1 parent 213eba4 commit 60415b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/components/Suspense.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ function createSuspenseBoundary(
timeout: typeof timeout === 'number' ? timeout : -1,
activeBranch: null,
pendingBranch: null,
isInFallback: true,
isInFallback: !isHydrating,
isHydrating,
isUnmounted: false,
effects: [],
Expand Down

0 comments on commit 60415b5

Please sign in to comment.