aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/preact/server.js
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-04-02 14:15:41 -0600
committerGravatar GitHub <noreply@github.com> 2022-04-02 14:15:41 -0600
commit1335797903a57716e9a02b0ffd8ca636b3883c62 (patch)
treed8835124fec7ab80bfbf25c6d9c5a57039a1c56d /packages/integrations/preact/server.js
parentd63213f1198293e72bb9d9734bf4ec8309c515d4 (diff)
downloadastro-1335797903a57716e9a02b0ffd8ca636b3883c62.tar.gz
astro-1335797903a57716e9a02b0ffd8ca636b3883c62.tar.zst
astro-1335797903a57716e9a02b0ffd8ca636b3883c62.zip
update prettier width (#2968)
Diffstat (limited to 'packages/integrations/preact/server.js')
-rw-r--r--packages/integrations/preact/server.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/integrations/preact/server.js b/packages/integrations/preact/server.js
index 25b1a1530..0729f42e9 100644
--- a/packages/integrations/preact/server.js
+++ b/packages/integrations/preact/server.js
@@ -25,7 +25,9 @@ function check(Component, props, children) {
}
function renderToStaticMarkup(Component, props, children) {
- const html = render(h(Component, props, children != null ? h(StaticHtml, { value: children }) : children));
+ const html = render(
+ h(Component, props, children != null ? h(StaticHtml, { value: children }) : children)
+ );
return { html };
}