add mailing system
This commit is contained in:
parent
dbc9187b90
commit
281adb8a44
@ -25,6 +25,9 @@ export default async function submitContactForm(e, setSuccess) {
|
|||||||
|
|
||||||
if (data.msg === "Success") {
|
if (data.msg === "Success") {
|
||||||
setSuccess("Success");
|
setSuccess("Success");
|
||||||
|
setTimeout(() => {
|
||||||
|
window.location.reload();
|
||||||
|
}, 1000);
|
||||||
} else {
|
} else {
|
||||||
setSuccess("Failed");
|
setSuccess("Failed");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user