diff --git a/src/editor/Editor.tsx b/src/editor/Editor.tsx index 129e9739..541e5717 100644 --- a/src/editor/Editor.tsx +++ b/src/editor/Editor.tsx @@ -165,7 +165,7 @@ const Editor: React.VoidFunctionComponent = ({ onEditorChanged }) = contextmenu: false, rulers: [80], }} - editorDidMount={(editor, _monaco) => { + editorDidMount={(editor) => { const subscriptions = new Array(); // FIXME: editor does not respond to changes in i18n subscriptions.push(