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