diff --git a/src/servers/preload/api.ts b/src/servers/preload/api.ts index 291250132..cabf221dc 100644 --- a/src/servers/preload/api.ts +++ b/src/servers/preload/api.ts @@ -27,10 +27,8 @@ import { setSidebarCustomTheme, } from './sidebar'; import { setTitle } from './title'; -// import { setWorkspaceUID } from './uniqueID'; import { setUrlResolver } from './urls'; import { setUserLoggedIn } from './userLoggedIn'; -// import { setVersion } from './version'; type ServerInfo = { version: string; @@ -74,8 +72,6 @@ export type RocketChatDesktopAPI = { hasOutlookCredentials: () => Promise; clearOutlookCredentials: () => void; setUserToken: (token: string, userId: string) => void; - setWorkspaceUID: (uniqueID: string) => void; - setVersion: (version: string) => void; }; export const RocketChatDesktop: RocketChatDesktopAPI = { @@ -108,7 +104,5 @@ export const RocketChatDesktop: RocketChatDesktopAPI = { hasOutlookCredentials, clearOutlookCredentials, setUserToken, - setWorkspaceUID, - setVersion, setSidebarCustomTheme, }; diff --git a/src/servers/supportedVersions/main.ts b/src/servers/supportedVersions/main.ts index ada669a15..6a964475a 100644 --- a/src/servers/supportedVersions/main.ts +++ b/src/servers/supportedVersions/main.ts @@ -4,7 +4,6 @@ import path from 'path'; import jwt from 'jsonwebtoken'; import moment from 'moment'; import { coerce, satisfies } from 'semver'; -import { get } from 'underscore'; import { getLanguage } from '../../i18n/main'; import { dispatch, listen, select } from '../../store'; diff --git a/src/servers/supportedVersions/types.ts b/src/servers/supportedVersions/types.ts index fc0955da1..484bba4ad 100644 --- a/src/servers/supportedVersions/types.ts +++ b/src/servers/supportedVersions/types.ts @@ -1,5 +1,3 @@ -import { uniqueId } from 'underscore'; - export type Dictionary = { [lng: string]: Record; };