File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/runtime-core/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,8 @@ export function createHydrationFunctions(
134134 __DEV__ &&
135135 warn (
136136 `Hydration text mismatch:` +
137- `\n- Client : ${ JSON . stringify ( ( node as Text ) . data ) } ` +
138- `\n- Server : ${ JSON . stringify ( vnode . children ) } `
137+ `\n- Server rendered : ${ JSON . stringify ( ( node as Text ) . data ) } ` +
138+ `\n- Client rendered : ${ JSON . stringify ( vnode . children ) } `
139139 )
140140 ; ( node as Text ) . data = vnode . children as string
141141 }
@@ -406,8 +406,8 @@ export function createHydrationFunctions(
406406 `Hydration text content mismatch in <${
407407 vnode . type as string
408408 } >:\n` +
409- `- Client : ${ el . textContent } \n` +
410- `- Server : ${ vnode . children as string } `
409+ `- Server rendered : ${ el . textContent } \n` +
410+ `- Client rendered : ${ vnode . children as string } `
411411 )
412412 el . textContent = vnode . children as string
413413 }
You can’t perform that action at this time.
0 commit comments