Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
justkahdri committed Jan 3, 2025
1 parent 7867145 commit ccfb86e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/basehub/src/react/form/primitive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ export function unstable_Form<T extends `${EventKeys}:${string}`>({

if (action.type === "update") {
await updateEvent(
action.adminKey,
action.adminKey as any,
action.eventId,
parsedResult?.data as any
);
} else {
await sendEvent(action.ingestKey, parsedResult?.data as any);
await sendEvent(action.ingestKey as any, parsedResult?.data as any);
}
},
[action, fields]
Expand Down

0 comments on commit ccfb86e

Please sign in to comment.