Skip to content

Commit

Permalink
fixed broken xls link (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator authored Jul 24, 2023
1 parent 85fb888 commit 5ad3b1e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions components/Form/stepFour.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ function StepFour({ setStep, setForm, data }) {
e.preventDefault();
setSubmitting(true);
axios
.post(
"https://sheet.best/api/sheets/666a49d7-e284-48ff-a335-0030f20658f6",
data
)
.then((res) => {
setSubmitting(false);
if (res.status === 200) {
setDisabled(true);
setStep(e, 'successful')
}
})
.catch((err) => {
setSubmitting(false);
toast.error("Failed to submit feedback. Try again", {
duration: '6000'
});
});
.post(
'https://sheet.best/api/sheets/13475198-4193-472f-8a28-bcf8609541ae',
data
)
.then((res) => {
setSubmitting(false);
if (res.status === 200) {
setDisabled(true);
setStep(e, 'successful');
}
})
.catch((err) => {
setSubmitting(false);
toast.error('Failed to submit feedback. Try again', {
duration: '6000',
});
});
};
return (
<form className="mt-3 w-[30rem] lg:w-[auto]" onSubmit={(e) => onSubmit(e)}>
Expand Down

0 comments on commit 5ad3b1e

Please sign in to comment.