From 64693ffd26e85a734cdd2e8280b96b6319e93daf Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Tue, 4 Jul 2023 22:16:02 +0200 Subject: [PATCH] fix: remove test flag --- website/src/repl/Repl.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/website/src/repl/Repl.jsx b/website/src/repl/Repl.jsx index 878c77ea..29fa2c16 100644 --- a/website/src/repl/Repl.jsx +++ b/website/src/repl/Repl.jsx @@ -109,8 +109,6 @@ const { code: randomTune, name } = getRandomTune(); export const ReplContext = createContext(null); -let init = false; // this is bad! only for testing! - export function Repl({ embedded = false }) { const isEmbedded = embedded || window.location !== window.parent.location; const [view, setView] = useState(); // codemirror view