From 8d3c7b6286281362731dc9f8fabbcd7c72401b8c Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 7 Dec 2021 16:56:51 +0000 Subject: [PATCH] chore(lint): Prettier fix --- packages/astro/src/core/create-vite.ts | 4 ++-- packages/astro/src/runtime/server/hydration.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/astro/src/core/create-vite.ts b/packages/astro/src/core/create-vite.ts index e20409e15..4ba5a7754 100644 --- a/packages/astro/src/core/create-vite.ts +++ b/packages/astro/src/core/create-vite.ts @@ -67,8 +67,8 @@ export async function createVite(inlineConfig: ViteConfigWithSSR, { astroConfig, }, fs: { // Allow serving files from one level up to the project root - allow: ['..'] - } + allow: ['..'], + }, }, // Note: SSR API is in beta (https://vitejs.dev/guide/ssr.html) ssr: { diff --git a/packages/astro/src/runtime/server/hydration.ts b/packages/astro/src/runtime/server/hydration.ts index 089b68737..f056166d1 100644 --- a/packages/astro/src/runtime/server/hydration.ts +++ b/packages/astro/src/runtime/server/hydration.ts @@ -5,7 +5,7 @@ import serialize from 'serialize-javascript'; // Serializes props passed into a component so that they can be reused during hydration. export function serializeProps(value: any) { - return serialize(value) + return serialize(value); } const HydrationDirectives = ['load', 'idle', 'media', 'visible', 'only'];