diff --git a/frontend/pages/editor/[lang].js b/frontend/pages/editor/[lang].js index a4cf660..6d407d7 100644 --- a/frontend/pages/editor/[lang].js +++ b/frontend/pages/editor/[lang].js @@ -331,7 +331,7 @@ const CodeRunner = (props) => { }; const handleChange = () => { - if (isConnected) { + if (status != "idle") { return; } else { connect(); @@ -389,7 +389,7 @@ const CodeRunner = (props) => {