diff options
Diffstat (limited to 'src/features/workspaces/components')
-rw-r--r-- | src/features/workspaces/components/WorkspaceDrawerItem.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/workspaces/components/WorkspaceDrawerItem.js b/src/features/workspaces/components/WorkspaceDrawerItem.js index 7df2b60be..4afb9c108 100644 --- a/src/features/workspaces/components/WorkspaceDrawerItem.js +++ b/src/features/workspaces/components/WorkspaceDrawerItem.js | |||
@@ -1,4 +1,4 @@ | |||
1 | import { Menu, getCurrentWindow } from '@electron/remote'; | 1 | import { Menu } from '@electron/remote'; |
2 | import React, { Component } from 'react'; | 2 | import React, { Component } from 'react'; |
3 | import PropTypes from 'prop-types'; | 3 | import PropTypes from 'prop-types'; |
4 | import { observer } from 'mobx-react'; | 4 | import { observer } from 'mobx-react'; |
@@ -119,7 +119,7 @@ class WorkspaceDrawerItem extends Component { | |||
119 | ])} | 119 | ])} |
120 | onClick={onClick} | 120 | onClick={onClick} |
121 | onContextMenu={() => | 121 | onContextMenu={() => |
122 | onContextMenuEditClick && contextMenu.popup(getCurrentWindow()) | 122 | onContextMenuEditClick && contextMenu.popup() |
123 | } | 123 | } |
124 | data-tip={`${ | 124 | data-tip={`${ |
125 | shortcutIndex <= 9 | 125 | shortcutIndex <= 9 |