diff --git a/src/renderer/src/components/Playground/CodeEditor/Editor/loader.ts b/src/renderer/src/components/Playground/CodeEditor/Editor/loader.ts index c568b2c..a42fcb4 100644 --- a/src/renderer/src/components/Playground/CodeEditor/Editor/loader.ts +++ b/src/renderer/src/components/Playground/CodeEditor/Editor/loader.ts @@ -1,7 +1,6 @@ import { loader } from '@monaco-editor/react' +import * as monaco from 'monaco-editor' loader.config({ - paths: { - vs: 'https://unpkg.com/monaco-editor@0.45.0/min/vs' - } + monaco })