diff --git a/src/main/window-manager.ts b/src/main/window-manager.ts index 9fcfa26931..462cbad026 100644 --- a/src/main/window-manager.ts +++ b/src/main/window-manager.ts @@ -58,12 +58,6 @@ export class WindowManager { } } - getClusterView(clusterId: ClusterId): WebContents { - return webContents.getAllWebContents().find(view => { - return new URL(view.getURL()).host.split(".")[0] === clusterId; - }) - } - async showMain() { try { await this.showSplash();