fix: remove test flag

This commit is contained in:
Felix Roos 2023-07-04 22:16:02 +02:00
parent 66f8ca72c1
commit 64693ffd26

View File

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