add mailing system

This commit is contained in:
Tben 2022-01-06 09:14:36 +01:00
parent dbc9187b90
commit 281adb8a44

View File

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