Compare commits

...

2 Commits

Author SHA1 Message Date
Jyotirmoy Bandyopadhayaya c9df93709a
Update contact.js 2024-04-26 16:22:16 +05:30
Jyotirmoy Bandyopadhayaya 695acca74c
Update contact.js 2024-04-26 16:14:49 +05:30
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 (