summaryrefslogtreecommitdiff
path: root/packages/integrations/react/client.js
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-08-25 18:53:12 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-08-25 18:53:12 +0000
commitd48de5a06f06ef26d1e2c7352b8cf1221f9a1f88 (patch)
tree51e7801a2ff8ae5f25d44a0125d86c47672e37cc /packages/integrations/react/client.js
parent3b5f34d606dddff433e8e6fd88a609d246864984 (diff)
downloadastro-d48de5a06f06ef26d1e2c7352b8cf1221f9a1f88.tar.gz
astro-d48de5a06f06ef26d1e2c7352b8cf1221f9a1f88.tar.zst
astro-d48de5a06f06ef26d1e2c7352b8cf1221f9a1f88.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 753b4a21c..847bd6bac 100644
--- a/packages/integrations/react/client.js
+++ b/packages/integrations/react/client.js
@@ -29,9 +29,9 @@ export default (element) =>
if (client === 'only') {
return startTransition(() => {
createRoot(element).render(componentEl);
- })
+ });
}
return startTransition(() => {
hydrateRoot(element, componentEl);
- })
+ });
};