Skip to content

Commit

Permalink
feat: react 19 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-ebey authored Dec 13, 2024
1 parent cb98494 commit 979326c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/conform-react/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 979326c

Please sign in to comment.