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 <> -