Skip to content

Commit

Permalink
feat: add email back to authentication submitted page
Browse files Browse the repository at this point in the history
  • Loading branch information
travis committed Nov 6, 2024
1 parent ccdefc1 commit 64c1f08
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/Authenticator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ export function AuthenticationForm (): JSX.Element {
}

export function AuthenticationSubmitted (): JSX.Element {
const [{ email }] = useAuthenticator()

// ensure the referral of this user is tracked if necessary.
// we might use the result of this hook in the future to tell
// people that they get special pricing on the next page after
// they verify their email.
useRecordRefcode()

return (
Expand Down

0 comments on commit 64c1f08

Please sign in to comment.