Skip to content

Commit

Permalink
feat(electron): app tabs dnd (#7684)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 authored and L-Sun committed Aug 3, 2024
1 parent 02909e8 commit 3c0f8e2
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -962,13 +962,6 @@ export const reloadView = async () => {
}
};

export const reloadView = async () => {
const id = WebContentViewsManager.instance.activeWorkbenchId;
if (id) {
await WebContentViewsManager.instance.loadTab(id);
}
};

export const onTabAction = (fn: (event: TabAction) => void) => {
const { unsubscribe } =
WebContentViewsManager.instance.tabAction$.subscribe(fn);
Expand Down

0 comments on commit 3c0f8e2

Please sign in to comment.