diff options
Diffstat (limited to 'packages/integrations/preact/src/client.ts')
-rw-r--r-- | packages/integrations/preact/src/client.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/preact/src/client.ts b/packages/integrations/preact/src/client.ts index 050a86f8a..3fb36d22a 100644 --- a/packages/integrations/preact/src/client.ts +++ b/packages/integrations/preact/src/client.ts @@ -9,7 +9,7 @@ export default (element: HTMLElement) => Component: any, props: Record<string, any>, { default: children, ...slotted }: Record<string, any>, - { client }: Record<string, string> + { client }: Record<string, string>, ) => { if (!element.hasAttribute('ssr')) return; for (const [key, value] of Object.entries(slotted)) { @@ -32,7 +32,7 @@ export default (element: HTMLElement) => bootstrap( h(Component, props, children != null ? h(StaticHtml, { value: children }) : children), - element + element, ); // Preact has no "unmount" option, but you can use `render(null, element)` |