From ad64f7df76f5726f208ea7ddb83f127ff9381e7a Mon Sep 17 00:00:00 2001 From: bluwy Date: Thu, 8 Aug 2024 21:38:56 +0800 Subject: [PATCH] Format --- packages/integrations/preact/src/server.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/integrations/preact/src/server.ts b/packages/integrations/preact/src/server.ts index 5f720b9f7046..7de8589897ac 100644 --- a/packages/integrations/preact/src/server.ts +++ b/packages/integrations/preact/src/server.ts @@ -15,7 +15,7 @@ async function check( this: RendererContext, Component: any, props: Record, - children: any + children: any, ) { if (typeof Component !== 'function') return false; if (Component.name === 'QwikComponent') return false; @@ -53,7 +53,7 @@ async function renderToStaticMarkup( Component: any, props: Record, { default: children, ...slotted }: Record, - metadata: AstroComponentMetadata | undefined + metadata: AstroComponentMetadata | undefined, ) { const ctx = getContext(this.result); @@ -83,7 +83,7 @@ async function renderToStaticMarkup( hydrate: shouldHydrate(metadata), value: children, }) - : children + : children, ); const html = await renderToStringAsync(vNode);