diff --git a/src/route-widgets/root/EmailForm/EmailForm.tsx b/src/route-widgets/root/EmailForm/EmailForm.tsx index da0e815..f89fbf9 100644 --- a/src/route-widgets/root/EmailForm/EmailForm.tsx +++ b/src/route-widgets/root/EmailForm/EmailForm.tsx @@ -39,7 +39,9 @@ export default function EmailForm({ onSubmit: async (values, {setErrors}) => { // Check is email disposable try { - const isDisposable = await checkIsDomainDisposable(values.email) + const isDisposable = await checkIsDomainDisposable( + values.email.split("@")[1], + ) if (isDisposable) { setErrors({