ソースを参照

chore: format

Evan You 2 年 前
コミット
5479d1e5bb
1 ファイル変更3 行追加1 行削除
  1. 3 1
      packages/runtime-core/src/hydration.ts

+ 3 - 1
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