mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
CODEBASE: Create monaco editor instance with null model (#2563)
This commit is contained in:
@@ -51,7 +51,7 @@ export function Editor({ onMount, onChange, onUnmount }: EditorProps) {
|
||||
|
||||
// Initialize monaco editor
|
||||
editorRef.current = monaco.editor.create(containerDiv.current, {
|
||||
value: "",
|
||||
model: null,
|
||||
automaticLayout: true,
|
||||
language: "javascript",
|
||||
...options,
|
||||
|
||||
Reference in New Issue
Block a user