Compare commits

...

5 Commits

1 changed files with 6 additions and 1 deletions

View File

@ -19,7 +19,12 @@ function Contact() {
}
function submitForm(evt) {
evt.preventDefault();
axios.post("/contactme/postQuery", input);
axios.post("/api/contact", {
name: input.senderName,
email: input.email,
subject: input.topic,
message: input.message
});
setIsSubmitted(true);
}
return (