diff --git a/packages/runtime-core/src/hydration.ts b/packages/runtime-core/src/hydration.ts index 311ba344f26..4b7cd5a3207 100644 --- a/packages/runtime-core/src/hydration.ts +++ b/packages/runtime-core/src/hydration.ts @@ -102,8 +102,8 @@ export function createHydrationFunctions( __DEV__ && warn( `Hydration text mismatch:` + - `\n- Client: ${JSON.stringify(vnode.children)}`, - `\n- Server: ${JSON.stringify((node as Text).data)}` + `\n- Client: ${JSON.stringify((node as Text).data)}` + + `\n- Server: ${JSON.stringify(vnode.children)}` ) ;(node as Text).data = vnode.children as string }