Skip to content

Commit

Permalink
Update hydration.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 8, 2023
1 parent aab53c1 commit b00edb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-core/src/hydration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,9 +576,9 @@ export function createHydrationFunctions(
__DEV__ &&
warn(
`Hydration node mismatch:\n- Client vnode:`,
node,
`\n- Server rendered DOM:`,
vnode.type,
`\n- Server rendered DOM:`,
node,
node.nodeType === DOMNodeTypes.TEXT
? `(text)`
: isComment(node) && node.data === '['
Expand Down

0 comments on commit b00edb8

Please sign in to comment.