diff --git a/client/src/components/level.tsx b/client/src/components/level.tsx index 9e96941..806082d 100644 --- a/client/src/components/level.tsx +++ b/client/src/components/level.tsx @@ -615,7 +615,7 @@ function useLevelEditor(codeviewRef, initialCode, initialSelections, onDidChange return () => { editorConnection.api.sendClientNotification(uriStr, "textDocument/didClose", {textDocument: {uri: uriStr}}) - model.dispose(); } + } } }, [editor, levelId, connection, leanClientStarted]) diff --git a/client/src/css/app.css b/client/src/css/app.css index fa82b2b..3226e1f 100644 --- a/client/src/css/app.css +++ b/client/src/css/app.css @@ -42,12 +42,6 @@ body { border-radius: .3em; } - -/* Hide monaco editor notifications */ -.monaco-workbench > .notifications-toasts.visible { - display: none !important; -} - .loading { margin: auto; height: 100%;