Skip to content

Commit f90e643

Browse files
committed
Global: Remove unused variables (#3337)
1 parent 23a65bc commit f90e643

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

‎dev/telegraphChangelog.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const { JSDOM } = require('jsdom');
44
const { gitlogPromise } = require('gitlog');
55

66
// CONSTANTS
7-
const SKIP_CHANGELOG_UPDATE = process.env.SKIP_CHANGELOG_UPDATE === 'true';
87
const AUTH_TOKEN = process.env.TELEGRAPH_TOKEN;
98
const version = require('../package.json').version;
109

@@ -34,7 +33,7 @@ function updateChangelog() {
3433
});
3534
}
3635

37-
if (!SKIP_CHANGELOG_UPDATE) updateChangelog();
36+
updateChangelog();
3837

3938
// UTIL
4039

‎src/global/initialState.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ export const INITIAL_GLOBAL_STATE: GlobalState = {
221221
isConnectionStatusMinimized: true,
222222
shouldArchiveAndMuteNewNonContact: false,
223223
canTranslate: false,
224-
canTranslateChats: true,
225224
doNotTranslate: [],
226225
canDisplayChatInTitle: true,
227226
},

‎src/types/index.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ export interface ISettings extends NotifySettings, Record<string, any> {
9797
isConnectionStatusMinimized: boolean;
9898
shouldArchiveAndMuteNewNonContact?: boolean;
9999
canTranslate: boolean;
100-
canTranslateChats: boolean;
101100
doNotTranslate: string[];
102101
canDisplayChatInTitle: boolean;
103102
shouldShowLoginCodeInChatList?: boolean;

0 commit comments

Comments
 (0)