Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Aug 8, 2024
1 parent 08df24c commit ad64f7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/integrations/preact/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function check(
this: RendererContext,
Component: any,
props: Record<string, any>,
children: any
children: any,
) {
if (typeof Component !== 'function') return false;
if (Component.name === 'QwikComponent') return false;
Expand Down Expand Up @@ -53,7 +53,7 @@ async function renderToStaticMarkup(
Component: any,
props: Record<string, any>,
{ default: children, ...slotted }: Record<string, any>,
metadata: AstroComponentMetadata | undefined
metadata: AstroComponentMetadata | undefined,
) {
const ctx = getContext(this.result);

Expand Down Expand Up @@ -83,7 +83,7 @@ async function renderToStaticMarkup(
hydrate: shouldHydrate(metadata),
value: children,
})
: children
: children,
);

const html = await renderToStringAsync(vNode);
Expand Down

0 comments on commit ad64f7d

Please sign in to comment.