diff --git a/functions/frontend/submitContactForm.js b/functions/frontend/submitContactForm.js index 65b0d58..d4799e5 100644 --- a/functions/frontend/submitContactForm.js +++ b/functions/frontend/submitContactForm.js @@ -25,6 +25,9 @@ export default async function submitContactForm(e, setSuccess) { if (data.msg === "Success") { setSuccess("Success"); + setTimeout(() => { + window.location.reload(); + }, 1000); } else { setSuccess("Failed"); }