Compare commits
5 Commits
92e3da2387
...
6c43b39396
Author | SHA1 | Date |
---|---|---|
Jyotirmoy Bandyopadhayaya | 6c43b39396 | |
Jyotirmoy Bandyopadhayaya | c9df93709a | |
Jyotirmoy Bandyopadhayaya | 695acca74c | |
Jyotirmoy Bandyopadhayaya | ab8dded0f5 | |
snyk-bot | 98ca39f7ed |
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue