From be1dc2797d251029894a6396b30c0ce4a53f8ce4 Mon Sep 17 00:00:00 2001 From: Mostafa Khairy <139318986+Mostafa-Khairy0@users.noreply.github.com> Date: Sat, 1 Nov 2025 01:31:51 +0200 Subject: [PATCH] remove unused imports and empty files (#2491) - Cleaned up unused imports across the project to improve code readability and maintainability. - Deleted empty or obsolete files that are no longer in use. - No functional changes introduced. --- emain/emain.ts | 4 +--- frontend/app/element/notification.scss | 0 frontend/app/element/notification.tsx | 0 frontend/app/store/wshrpcutil.ts | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 frontend/app/element/notification.scss delete mode 100644 frontend/app/element/notification.tsx diff --git a/emain/emain.ts b/emain/emain.ts index 02854cb27..99ad22541 100644 --- a/emain/emain.ts +++ b/emain/emain.ts @@ -25,7 +25,6 @@ import { import { log } from "./emain-log"; import { makeAppMenu, makeDockTaskbar } from "./emain-menu"; import { - callWithOriginalXdgCurrentDesktopAsync, checkIfRunningUnderARM64Translation, getElectronAppBasePath, getElectronAppUnpackedBasePath, @@ -36,14 +35,13 @@ import { unamePlatform, } from "./emain-platform"; import { ensureHotSpareTab, setMaxTabCacheSize } from "./emain-tabview"; -import { getIsWaveSrvDead, getWaveSrvProc, getWaveSrvReady, getWaveVersion, runWaveSrv } from "./emain-wavesrv"; +import { getIsWaveSrvDead, getWaveSrvProc, getWaveSrvReady, runWaveSrv } from "./emain-wavesrv"; import { createBrowserWindow, createNewWaveWindow, focusedWaveWindow, getAllWaveWindows, getWaveWindowById, - getWaveWindowByWebContentsId, getWaveWindowByWorkspaceId, registerGlobalHotkey, relaunchBrowserWindows, diff --git a/frontend/app/element/notification.scss b/frontend/app/element/notification.scss deleted file mode 100644 index e69de29bb..000000000 diff --git a/frontend/app/element/notification.tsx b/frontend/app/element/notification.tsx deleted file mode 100644 index e69de29bb..000000000 diff --git a/frontend/app/store/wshrpcutil.ts b/frontend/app/store/wshrpcutil.ts index 224b8a201..8ed436180 100644 --- a/frontend/app/store/wshrpcutil.ts +++ b/frontend/app/store/wshrpcutil.ts @@ -3,7 +3,7 @@ import { wpsReconnectHandler } from "@/app/store/wps"; import { TabClient } from "@/app/store/tabrpcclient"; -import { makeTabRouteId, WshRouter } from "@/app/store/wshrouter"; +import { WshRouter } from "@/app/store/wshrouter"; import { getWSServerEndpoint } from "@/util/endpoints"; import { addWSReconnectHandler, globalWS, initGlobalWS, WSControl } from "./ws"; import { DefaultRouter, setDefaultRouter } from "./wshrpcutil-base";