diff --git a/packages/tree-view/lib/root-drag-and-drop.js b/packages/tree-view/lib/root-drag-and-drop.js index b1196472cd..b8dab1c38e 100644 --- a/packages/tree-view/lib/root-drag-and-drop.js +++ b/packages/tree-view/lib/root-drag-and-drop.js @@ -1,6 +1,7 @@ const url = require('url'); -const {ipcRenderer, remote} = require('electron'); +const {ipcRenderer} = require('electron'); +const remote = require('@electron/remote'); // TODO: Support dragging external folders and using the drag-and-drop indicators for them // Currently they're handled in TreeView's drag listeners