|
|
|
@ -637,7 +637,7 @@ export const EditorUI = (props: EditorUIProps) => { |
|
|
|
|
// 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){ |
|
|
|
|
if (diffEditorRef.current && diffEditorRef.current.getModifiedEditor() && editorRef.current){ |
|
|
|
|
reducerListener(props.plugin, dispatch, monacoRef.current, [diffEditorRef.current.getModifiedEditor(), editorRef.current], props.events) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|