update form
This commit is contained in:
parent
0205e2b177
commit
df3d3a5ea2
@ -42,7 +42,11 @@ export default async function submitContactForm(
|
|||||||
}
|
}
|
||||||
|
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
} catch (error) {
|
} catch (error: any) {
|
||||||
console.log("Form submission failed. Please try again in a minute.");
|
console.log(
|
||||||
|
"Form submission failed. Please try again in a minute.",
|
||||||
|
error.message
|
||||||
|
);
|
||||||
|
window.alert("Form submission failed. Please try again in a minute.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user