// Components import { Form, Head } from '@inertiajs/react'; import TextLink from '@/components/text-link'; import { Button } from '@/components/ui/button'; import { Spinner } from '@/components/ui/spinner'; import { useTranslation } from '@/lib/translations'; import { logout } from '@/routes'; import { send } from '@/routes/verification'; export default function VerifyEmail({ status }: { status?: string }) { const { t } = useTranslation(); return ( <> {status === 'verification-link-sent' && (
{t( 'A new verification link has been sent to the email address you provided during registration.', )}
)}
{({ processing }) => ( <> {t('Log out')} )}
); } VerifyEmail.layout = { title: 'Verify email', description: 'Please verify your email address by clicking on the link we just emailed to you.', };