From 78671454219495ce71af641f4ea64043c13b4474 Mon Sep 17 00:00:00 2001 From: Joaquin Montes Date: Fri, 3 Jan 2025 11:43:53 -0300 Subject: [PATCH] ? --- packages/basehub/src/react/form/primitive.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/basehub/src/react/form/primitive.tsx b/packages/basehub/src/react/form/primitive.tsx index 5dab7d6..7ae4d3b 100644 --- a/packages/basehub/src/react/form/primitive.tsx +++ b/packages/basehub/src/react/form/primitive.tsx @@ -108,12 +108,12 @@ export function unstable_Form({ if (action.type === "update") { await updateEvent( - action.adminKey as any, + action.adminKey, action.eventId, parsedResult?.data as any ); } else { - await sendEvent(action.ingestKey as any, parsedResult?.data as any); + await sendEvent(action.ingestKey, parsedResult?.data as any); } }, [action, fields]