mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 21:58:37 +00:00
fix: hot reloading
This commit is contained in:
parent
f44ceb46cd
commit
d7c2cf562f
@ -128,6 +128,7 @@ export function Repl2({ embedded = false }) {
|
||||
}
|
||||
return () => {
|
||||
editorRef.current?.clear();
|
||||
delete editorRef.current;
|
||||
};
|
||||
}, []);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user