chore: format

This commit is contained in:
Evan You 2023-09-05 15:24:10 +08:00
parent 5c137c9c8f
commit 5479d1e5bb
1 changed files with 3 additions and 1 deletions

View File

@ -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