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 (