Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 5, 2023
1 parent 5c137c9 commit 5479d1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/runtime-core/src/hydration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ export function createHydrationFunctions(
__DEV__ &&
warn(
`Hydration text mismatch:` +
`\n- Server rendered: ${JSON.stringify((node as Text).data)}` +
`\n- Server rendered: ${JSON.stringify(
(node as Text).data
)}` +
`\n- Client rendered: ${JSON.stringify(vnode.children)}`
)
;(node as Text).data = vnode.children as string
Expand Down

0 comments on commit 5479d1e

Please sign in to comment.