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); - }) + }); };