From 97b9a5f93b4fee2aabd355d72c6c699246e5d58d Mon Sep 17 00:00:00 2001 From: Shriya-Chauhan Date: Sun, 1 Dec 2024 16:34:22 +0530 Subject: [PATCH] fixed loading screens on error encounter --- modelina-website/src/components/playground/Playground.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/modelina-website/src/components/playground/Playground.tsx b/modelina-website/src/components/playground/Playground.tsx index 9b36bcef9a..02e5b4128f 100644 --- a/modelina-website/src/components/playground/Playground.tsx +++ b/modelina-website/src/components/playground/Playground.tsx @@ -113,7 +113,6 @@ const Playground: React.FC = (props) => { setError(true); setErrorMessage('Input is not a correct AsyncAPI document, so it cannot be processed.'); setStatusCode(500); - setOutputLoading(true); }); } } catch (e: any) { @@ -121,7 +120,6 @@ const Playground: React.FC = (props) => { setError(true); setErrorMessage('Input is not a correct AsyncAPI document, so it cannot be processed.'); setStatusCode(400); - setOutputLoading(true); } };