From dcb64228bb449d5eaec80125d53516bef1e193d7 Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Thu, 16 May 2024 13:59:35 -0400 Subject: [PATCH] fix: stub formState to avoid hydration error --- packages/integrations/react/client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/integrations/react/client.js b/packages/integrations/react/client.js index 76f9ead008..b91ee09c57 100644 --- a/packages/integrations/react/client.js +++ b/packages/integrations/react/client.js @@ -69,6 +69,7 @@ export default (element) => if (!element.hasAttribute('ssr')) return; const renderOptions = { identifierPrefix: element.getAttribute('prefix'), + formState: [], }; for (const [key, value] of Object.entries(slotted)) { props[key] = createElement(StaticHtml, { value, name: key });