diff --git a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx index 320e71477b..17840aacae 100644 --- a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx +++ b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx @@ -631,12 +631,6 @@ export const EditorUI = (props: EditorUIProps) => { } function setReducerListener() { - // if(!diffEditorRef.current && editorRef.current){ - // reducerListener(props.plugin, dispatch, monacoRef.current, [editorRef.current], props.events) - // } - // if(diffEditorRef.current && diffEditorRef.current.getModifiedEditor() && !editorRef.current){ - // reducerListener(props.plugin, dispatch, monacoRef.current, [diffEditorRef.current.getModifiedEditor()], props.events) - // } if (diffEditorRef.current && diffEditorRef.current.getModifiedEditor() && editorRef.current){ reducerListener(props.plugin, dispatch, monacoRef.current, [diffEditorRef.current.getModifiedEditor(), editorRef.current], props.events) }