fix linting

pull/5370/head
yann300 2 years ago committed by Aniket
parent e36f158a3d
commit c0bdfeff40
  1. 4
      libs/remix-ui/editor/src/lib/remix-ui-editor.tsx

@ -682,8 +682,8 @@ export const EditorUI = (props: EditorUIProps) => {
contextmenu._onContextMenu = (...args) => {
if (args[0]) args[0].event?.preventDefault()
onContextMenuHandlerForFreeFunction()
.then(() => orgContextMenuMethod.apply(contextmenu, arguments))
.catch(() => orgContextMenuMethod.apply(contextmenu, arguments))
.then(() => orgContextMenuMethod.apply(contextmenu, args))
.catch(() => orgContextMenuMethod.apply(contextmenu, args))
}
const editorService = editor._codeEditorService;

Loading…
Cancel
Save