Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

644 B
Raw Blame
import { useActions } from 'kea'

import { Link } from 'lib/lemon-ui/Link'

import { authLogic } from '../authLogic'

export function UseDifferentEmailLink(): JSX.Element {
    const { backToEmail } = useActions(authLogic)

    return (
        <p className="mt-5 mb-0 text-sm text-secondary text-center">
            <Link
                onClick={() => backToEmail()}
                data-attr="auth-use-different-email"
                className="font-semibold no-underline cursor-pointer hover:underline hover:underline-offset-2 text-warning"
            >
                ← Use a different email
            </Link>
        </p>
    )
}