mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-20 00:05:26 +02:00
bugfixes
This commit is contained in:
parent
30c52cdaeb
commit
9f61f1d5d6
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user