Remove log
This commit is contained in:
parent
15e4fd556c
commit
598fbf9d4a
@ -55,9 +55,7 @@ export default function ContactForm() {
|
||||
setStatus('loading');
|
||||
|
||||
try {
|
||||
const req = await axios.post('/api/contact', data);
|
||||
const res = req.data;
|
||||
console.log(res);
|
||||
await axios.post('/api/contact', data);
|
||||
setStatus('success');
|
||||
}
|
||||
catch (err) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user