add fetchForm

This commit is contained in:
Hope87 2021-07-06 10:54:24 +03:00
parent a5820e0edb
commit f9c2761b73

View File

@ -26,18 +26,6 @@ const Form = () => {
fetchForm('https://guild.craft-group.xyz/api/profile/add-to-interview', formData); fetchForm('https://guild.craft-group.xyz/api/profile/add-to-interview', formData);
}; };
// const handleSubmit = (e) => {
// e.preventDefault();
// fetchForm('https://guild.craft-group.xyz/api/profile/add-to-interview', data)
// .then((el) => {
// return el.json();
// })
// .then((e) => {
// console.log(e);
// });
// };
return ( return (
<div className="container"> <div className="container">
<div className="row"> <div className="row">