We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d50ee6 commit 5b1d835Copy full SHA for 5b1d835
playground/knot/src/Editor/Editor.tsx
@@ -94,6 +94,8 @@ export default function Editor({
94
95
const handleMount: OnMount = useCallback(
96
(editor, instance) => {
97
+ serverRef.current?.dispose();
98
+
99
const server = new PlaygroundServer(instance, {
100
workspace,
101
files,
0 commit comments