diff options
author | 2022-09-21 19:23:58 +0000 | |
---|---|---|
committer | 2022-09-21 19:23:58 +0000 | |
commit | e3c78c5b164c338389c437743ba02a7be64e27fb (patch) | |
tree | b3cda2b42b755c1f7c1809f937a7d8ca5e54b869 /packages/integrations/preact/src/static-html.ts | |
parent | 5e46be54683592773e6dfc2d33825493886114b0 (diff) | |
download | astro-e3c78c5b164c338389c437743ba02a7be64e27fb.tar.gz astro-e3c78c5b164c338389c437743ba02a7be64e27fb.tar.zst astro-e3c78c5b164c338389c437743ba02a7be64e27fb.zip |
[ci] format
Diffstat (limited to 'packages/integrations/preact/src/static-html.ts')
-rw-r--r-- | packages/integrations/preact/src/static-html.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/preact/src/static-html.ts b/packages/integrations/preact/src/static-html.ts index e474caa5a..e1127d226 100644 --- a/packages/integrations/preact/src/static-html.ts +++ b/packages/integrations/preact/src/static-html.ts @@ -7,7 +7,7 @@ import { h } from 'preact'; * As a bonus, we can signal to Preact that this subtree is * entirely static and will never change via `shouldComponentUpdate`. */ -const StaticHtml = ({ value, name }: { value: string; name?: string; }) => { +const StaticHtml = ({ value, name }: { value: string; name?: string }) => { if (!value) return null; return h('astro-slot', { name, dangerouslySetInnerHTML: { __html: value } }); }; |