From 2cc3ff75350954a9212118714d490a81521ccd26 Mon Sep 17 00:00:00 2001 From: NishantGupt786 Date: Sun, 24 Sep 2023 02:14:24 +0530 Subject: [PATCH] fix: Bug fixes --- frontend/src/components/textEditor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/textEditor.js b/frontend/src/components/textEditor.js index 2aa8add..78d2320 100644 --- a/frontend/src/components/textEditor.js +++ b/frontend/src/components/textEditor.js @@ -268,6 +268,7 @@ const TextEditor = ({ await setInvalidInput(false); setSubmissionArray(response.data); setTestcaseInvalid(false); + submitInvalidInput(false); Cookies.set(String(questionId + 10), JSON.stringify(response.data)); } if (questionRunArray.has(questionId)) {