From 979326c45c990bc063022c70e201c912be472ad7 Mon Sep 17 00:00:00 2001 From: Jacob Ebey Date: Thu, 12 Dec 2024 18:14:43 -0800 Subject: [PATCH] feat: react 19 support --- packages/conform-react/context.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/conform-react/context.tsx b/packages/conform-react/context.tsx index 69ece9c4..0b6c8691 100644 --- a/packages/conform-react/context.tsx +++ b/packages/conform-react/context.tsx @@ -484,7 +484,7 @@ export function createFormContext< return { ...context, submit(event) { - const submitEvent = event.nativeEvent as SubmitEvent; + const submitEvent = event as unknown as SubmitEvent; const result = context.submit(submitEvent); if (