import { Link, useForm, Head } from '@inertiajs/react';
import classNames from 'classnames';
import React from 'react';
import useRoute from '@/Hooks/useRoute';
import AuthenticationCard from '@/Components/AuthenticationCard';
import PrimaryButton from '@/Components/PrimaryButton';
interface Props {
status: string;
}
export default function VerifyEmail({ status }: Props) {
const route = useRoute();
const form = useForm({});
const verificationLinkSent = status === 'verification-link-sent';
function onSubmit(e: React.FormEvent) {
e.preventDefault();
form.post(route('verification.send'));
}
return (