Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🔥 Remove redundant new_participant_dialog:success_view event (#2814)

Luke Vella73e68910d949
diff --git a/apps/web/src/features/poll/components/new-participant-modal.tsx b/apps/web/src/features/poll/components/new-participant-modal.tsx
index e60a8b899..217a86a72 100644
--- a/apps/web/src/features/poll/components/new-participant-modal.tsx
+++ b/apps/web/src/features/poll/components/new-participant-modal.tsx
@@ -242,15 +242,6 @@ export const NewParticipantForm = (props: NewParticipantModalProps) => {
pollId: poll.id,
timeZone,
});
- posthog?.capture("new_participant_dialog:success_view", {
- pollId: poll.id,
- spaceId: poll.spaceId,
- tier: poll.space?.tier,
- $groups: {
- poll: poll.id,
- ...(poll.spaceId ? { space: poll.spaceId } : {}),
- },
- });
props.onSubmit?.(newParticipant);
} catch (error) {
if (error instanceof TRPCClientError) {