📈 Stop duplicate capture of login event

This commit is contained in:
Luke Vella 2024-01-28 12:40:02 +07:00
parent ba8c05fb57
commit 317244ef28
2 changed files with 0 additions and 7 deletions

View file

@ -116,9 +116,6 @@ export function LoginForm() {
name: s.user.name,
});
}
posthog?.capture("login", {
method: "verification-code",
});
router.push(callbackUrl);
}
}}

View file

@ -33,10 +33,6 @@ export const LoginPage = ({ magicLink, email }: PageProps) => {
name: updatedSession.user.name,
});
posthog?.capture("login", {
method: "magic-link",
});
await trpcUtils.invalidate();
}
}