From 5ad3b1ea6e24395752d89272cff84e1f9c6d0bf5 Mon Sep 17 00:00:00 2001 From: Ace <40604284+AceTheCreator@users.noreply.github.com> Date: Mon, 24 Jul 2023 11:47:06 -0500 Subject: [PATCH] fixed broken xls link (#155) --- components/Form/stepFour.js | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/components/Form/stepFour.js b/components/Form/stepFour.js index 4eedfec5..9b659044 100644 --- a/components/Form/stepFour.js +++ b/components/Form/stepFour.js @@ -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 (
onSubmit(e)}>