useSendVerificationEmail
const { sendEmail, isLoading, isSent, isError, error } = useSendVerificationEmail() console.log({ isLoading, isSent, isError, error }) const handleFormSubmit = async (e) => { e.preventDefault() await sendEmail({ email: 'joe@example.com' }) }
SendVerificationEmailOptions
Was this page helpful?