Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Oct 26, 2023
1 parent b37151f commit dd6fa26
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/servers/preload/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -74,8 +72,6 @@ export type RocketChatDesktopAPI = {
hasOutlookCredentials: () => Promise<boolean>;
clearOutlookCredentials: () => void;
setUserToken: (token: string, userId: string) => void;
setWorkspaceUID: (uniqueID: string) => void;
setVersion: (version: string) => void;
};

export const RocketChatDesktop: RocketChatDesktopAPI = {
Expand Down Expand Up @@ -108,7 +104,5 @@ export const RocketChatDesktop: RocketChatDesktopAPI = {
hasOutlookCredentials,
clearOutlookCredentials,
setUserToken,
setWorkspaceUID,
setVersion,
setSidebarCustomTheme,
};
1 change: 0 additions & 1 deletion src/servers/supportedVersions/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 0 additions & 2 deletions src/servers/supportedVersions/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { uniqueId } from 'underscore';

export type Dictionary = {
[lng: string]: Record<string, string>;
};
Expand Down

0 comments on commit dd6fa26

Please sign in to comment.