diff --git a/packages/basehub/src/react/form/primitive.tsx b/packages/basehub/src/react/form/primitive.tsx index becf58a..5dab7d6 100644 --- a/packages/basehub/src/react/form/primitive.tsx +++ b/packages/basehub/src/react/form/primitive.tsx @@ -110,10 +110,10 @@ export function unstable_Form({ await updateEvent( action.adminKey as any, action.eventId, - parsedResult?.data + parsedResult?.data as any ); } else { - await sendEvent(action.ingestKey as any, parsedResult?.data); + await sendEvent(action.ingestKey as any, parsedResult?.data as any); } }, [action, fields]