// Components import { Form, Head } from '@inertiajs/react'; import { toast } from 'sonner'; import { TextLink } from '@/components/ui'; import { Button } from '@/components/ui/button'; import { Spinner } from '@/components/ui/spinner'; import { logout } from '@/routes'; import { send } from '@/routes/verification'; export default function VerifyEmail({ status }: { status?: string }) { return ( <> {status === 'verification-link-sent' && (
A new verification link has been sent to the email address you provided during registration.
)}
{ toast.error('Ada data yang belum sesuai, silakan periksa kembali input Anda.'); }} > {({ processing }) => ( <> Log out )}
); } VerifyEmail.layout = { title: 'Email verification', description: 'Please verify your email address by clicking on the link we just emailed to you.', };