Skip to content

Commit

Permalink
fix(suspense): handle nested sync suspense for hydration
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwusanyu-c authored and yyx990803 committed May 11, 2023
1 parent 483a4e7 commit a3f5485
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 @@ -755,7 +755,7 @@ function hydrateSuspense(
optimized
)
if (suspense.deps === 0) {
suspense.resolve()
suspense.resolve(false, true)
}
return result
/* eslint-enable no-restricted-globals */
Expand Down

0 comments on commit a3f5485

Please sign in to comment.