lint optimizations

This commit is contained in:
Proddy
2023-03-03 12:41:42 +01:00
parent afbb670c78
commit 8389e06aae
2 changed files with 2 additions and 2 deletions

View File

@@ -209,7 +209,7 @@ const SettingsCustomization: FC = () => {
}; };
const getMaskString = (m: number) => { const getMaskString = (m: number) => {
let new_masks: string[] = []; const new_masks: string[] = [];
if ((m & 1) === 1) { if ((m & 1) === 1) {
new_masks.push('1'); new_masks.push('1');
} }

View File

@@ -185,7 +185,7 @@ const SettingsScheduler: FC = () => {
}; };
const getFlagString = (f: number) => { const getFlagString = (f: number) => {
let new_flags: string[] = []; const new_flags: string[] = [];
if ((f & 1) === 1) { if ((f & 1) === 1) {
new_flags.push('1'); new_flags.push('1');
} }