From 5479d1e5bba66010d9d9253ab3119cef8f051705 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 5 Sep 2023 15:24:10 +0800 Subject: [PATCH] chore: format --- packages/runtime-core/src/hydration.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/runtime-core/src/hydration.ts b/packages/runtime-core/src/hydration.ts index 963038e3f..89a008863 100644 --- a/packages/runtime-core/src/hydration.ts +++ b/packages/runtime-core/src/hydration.ts @@ -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