Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
📈 Capture participant email in posthog (#569)
Luke Vella62a5c6580305
diff --git a/apps/web/src/components/poll/mutations.ts b/apps/web/src/components/poll/mutations.tsindex e16289df8..866efe4c2 100644--- a/apps/web/src/components/poll/mutations.ts+++ b/apps/web/src/components/poll/mutations.ts@@ -15,10 +15,11 @@ export const normalizeVotes = (export const useAddParticipantMutation = () => {return trpc.polls.participants.add.useMutation({- onSuccess: (_, { pollId, name }) => {+ onSuccess: (_, { pollId, name, email }) => {posthog.capture("add participant", {pollId,name,+ email,});},});