diff options
author | 2024-03-08 10:58:49 +0000 | |
---|---|---|
committer | 2024-03-08 10:58:49 +0000 | |
commit | c7edb22b4b3ca846cbd0ba07c1445f11cc1e8c24 (patch) | |
tree | 3af5fd9324023a9e09051467f0db0f2e564d87c9 /packages/integrations/react/client.js | |
parent | 2013e70bce16366781cc12e52823bb257fe460c0 (diff) | |
download | astro-c7edb22b4b3ca846cbd0ba07c1445f11cc1e8c24.tar.gz astro-c7edb22b4b3ca846cbd0ba07c1445f11cc1e8c24.tar.zst astro-c7edb22b4b3ca846cbd0ba07c1445f11cc1e8c24.zip |
[ci] format
Diffstat (limited to 'packages/integrations/react/client.js')
-rw-r--r-- | packages/integrations/react/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/react/client.js b/packages/integrations/react/client.js index cfe46a919..76f9ead00 100644 --- a/packages/integrations/react/client.js +++ b/packages/integrations/react/client.js @@ -57,7 +57,7 @@ function getChildren(childString, experimentalReactChildren) { let rootMap = new WeakMap(); const getOrCreateRoot = (element, creator) => { let root = rootMap.get(element); - if(!root) { + if (!root) { root = creator(); rootMap.set(element, root); } |