From c4d4d9eaf66e76cfb47a34a2a60ef53e736b42bb Mon Sep 17 00:00:00 2001 From: ahmed531998 Date: Thu, 20 Apr 2023 03:44:46 +0200 Subject: [PATCH] fix --- src/FeedbackForm.js | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/src/FeedbackForm.js b/src/FeedbackForm.js index 5cca57a..23f02f9 100644 --- a/src/FeedbackForm.js +++ b/src/FeedbackForm.js @@ -45,7 +45,7 @@ const FeedbackForm = (props) => { headers: { 'Content-Type': 'application/json' }, - }).then(r => r.json()) + }).then(r => r.json()).then(r => {console.log(r.status);}) .catch(error => console.error(error)); console.log(ratings); updateNeedForm(false); @@ -91,9 +91,9 @@ const FeedbackForm = (props) => { name="If applicable, was the response true?" onChange={(e) => setResponseTruthfulness(e.target.value)} > + -
@@ -125,40 +125,42 @@ const FeedbackForm = (props) => {
- +