mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 00:19:03 +02:00
📈 Stop duplicate capture of login event
This commit is contained in:
parent
ba8c05fb57
commit
317244ef28
2 changed files with 0 additions and 7 deletions
|
@ -116,9 +116,6 @@ export function LoginForm() {
|
|||
name: s.user.name,
|
||||
});
|
||||
}
|
||||
posthog?.capture("login", {
|
||||
method: "verification-code",
|
||||
});
|
||||
router.push(callbackUrl);
|
||||
}
|
||||
}}
|
||||
|
|
|
@ -33,10 +33,6 @@ export const LoginPage = ({ magicLink, email }: PageProps) => {
|
|||
name: updatedSession.user.name,
|
||||
});
|
||||
|
||||
posthog?.capture("login", {
|
||||
method: "magic-link",
|
||||
});
|
||||
|
||||
await trpcUtils.invalidate();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue