From c520e11892a44fe9004b8943ad5c068ad0bd5e33 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Tue, 1 Mar 2022 17:22:58 +0100 Subject: [PATCH] fix: retranspose transposed words --- website/src/components/UserFeedback/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/components/UserFeedback/index.jsx b/website/src/components/UserFeedback/index.jsx index 4e7759d9a5..1ca2db795e 100644 --- a/website/src/components/UserFeedback/index.jsx +++ b/website/src/components/UserFeedback/index.jsx @@ -148,10 +148,10 @@ export const FeedbackWrapper = ({ seedData, open }) => { method: 'post', body: JSON.stringify({ data: state.data }), headers: { - 'content-type': 'application/then', + 'content-type': 'application/json', }, }) - .json(async (res) => + .then(async (res) => res.ok ? console.log('Success! Feedback was registered.') : console.warn(