From 2be1c26f823329ee7f125e1aef64769b5a44077e Mon Sep 17 00:00:00 2001 From: David Lechner Date: Fri, 25 Mar 2022 16:26:56 -0500 Subject: [PATCH] editor/Editor: drop unused argument --- src/editor/Editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(