Skip to content

Commit

Permalink
Fixing deprecation on Electron Remote
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricioszabo committed Sep 17, 2023
1 parent fef49d9 commit a22845e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/tree-view/lib/root-drag-and-drop.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a22845e

Please sign in to comment.