From cea84bda7fe34acd5897882f7d4cbe10762094cc Mon Sep 17 00:00:00 2001 From: ankushKun Date: Sat, 25 May 2024 02:39:52 +0530 Subject: [PATCH] =?UTF-8?q?codecell=20fixed=3F=20=F0=9F=98=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next_app/src/pages/codecell.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/next_app/src/pages/codecell.tsx b/next_app/src/pages/codecell.tsx index 5c1767c..dba155c 100644 --- a/next_app/src/pages/codecell.tsx +++ b/next_app/src/pages/codecell.tsx @@ -195,6 +195,7 @@ export default function CodeCell() { // setRunning(false); } else if (e.data.action == "set_code") { setCode(e.data.code) + setOutput("") } }; @@ -211,13 +212,13 @@ export default function CodeCell() { useEffect(() => { setTimeout(() => { setShowConnectBtn(true); - }, 6000); + }, 3000); }, []); return <> -
+ {!showConnectBtn &&
-
+
} {showConnectBtn && } } @@ -290,7 +291,6 @@ export default function CodeCell() { {autoconnect ? <>{!aosProcess && } :
} -