From 3809386edb935105727cf2bf0fc856a05544fad8 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Thu, 6 Jun 2024 19:27:33 +0200 Subject: [PATCH] rm comment --- libs/remix-ui/editor/src/lib/remix-ui-editor.tsx | 6 ------ 1 file changed, 6 deletions(-) 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) }