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