summaryrefslogtreecommitdiff
path: root/packages/integrations/react/client.js
diff options
context:
space:
mode:
authorGravatar ematipico <ematipico@users.noreply.github.com> 2023-05-04 14:25:03 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2023-05-04 14:25:03 +0000
commit14fd198ea51eb401c6e51970b69d85c17fc4fa7b (patch)
tree7799b229a9bda15b69dd701f0e10642f66f60259 /packages/integrations/react/client.js
parentca329bbcae7a6075af4f428f6f64466e9d152c8f (diff)
downloadastro-14fd198ea51eb401c6e51970b69d85c17fc4fa7b.tar.gz
astro-14fd198ea51eb401c6e51970b69d85c17fc4fa7b.tar.zst
astro-14fd198ea51eb401c6e51970b69d85c17fc4fa7b.zip
[ci] format
Diffstat (limited to 'packages/integrations/react/client.js')
-rw-r--r--packages/integrations/react/client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/react/client.js b/packages/integrations/react/client.js
index 366d499e3..ef5929af1 100644
--- a/packages/integrations/react/client.js
+++ b/packages/integrations/react/client.js
@@ -14,8 +14,8 @@ export default (element) =>
(Component, props, { default: children, ...slotted }, { client }) => {
if (!element.hasAttribute('ssr')) return;
const renderOptions = {
- identifierPrefix: element.getAttribute('prefix')
- }
+ identifierPrefix: element.getAttribute('prefix'),
+ };
for (const [key, value] of Object.entries(slotted)) {
props[key] = createElement(StaticHtml, { value, name: key });
}