Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Nov 15, 2023
1 parent 98cc25c commit 7ec96ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/integrations/svelte/server-v5.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ async function renderToStaticMarkup(Component, props, slotted, metadata) {
}
}

const html = render(Component, {
const { html } = render(Component, {
props: {
...props,
children,
$$slots,
},
}).html;
});
return { html };
}

Expand Down

0 comments on commit 7ec96ce

Please sign in to comment.