Skip to content

Commit f66faf5

Browse files
committed
fix: Remove removed prop
1 parent 7adb912 commit f66faf5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/MonacoEditor.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export interface MonacoEditorProps {
7171
programmingLanguage?: string
7272
fileUri?: string
7373
options?: monaco.editor.IStandaloneEditorConstructionOptions
74-
overrideServices?: monaco.editor.IEditorOverrideServices
7574
onChange?: (value: string, event: monaco.editor.IModelContentChangedEvent) => void
7675
markers?: monaco.editor.IMarkerData[]
7776
keyBindingsMode?: KeyBindingsMode
@@ -104,7 +103,6 @@ function MonacoEditor ({
104103
programmingLanguage,
105104
value,
106105
options,
107-
overrideServices,
108106
onChange,
109107
keyBindingsMode = 'classic',
110108
markers,
@@ -190,8 +188,7 @@ function MonacoEditor ({
190188
ariaContainerElement: undefined,
191189
dimension: undefined,
192190
overflowWidgetsDomNode: undefined
193-
},
194-
overrideServices
191+
}
195192
)
196193
editorRef.current = editor
197194
if (model != null) {
@@ -211,7 +208,7 @@ function MonacoEditor ({
211208
}
212209
}
213210
// eslint-disable-next-line react-hooks/exhaustive-deps
214-
}, [overrideServices])
211+
}, [])
215212

216213
// Update value
217214
useEffect(() => {

0 commit comments

Comments
 (0)