pull/4791/head
filip mertens 6 months ago
parent b76f022248
commit 3809386edb
  1. 6
      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)
}

Loading…
Cancel
Save