update form

This commit is contained in:
Tben 2024-01-30 04:29:07 +01:00
parent 0205e2b177
commit df3d3a5ea2

View File

@ -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.");
} }
} }