mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
lint optimizations
This commit is contained in:
@@ -209,7 +209,7 @@ const SettingsCustomization: FC = () => {
|
||||
};
|
||||
|
||||
const getMaskString = (m: number) => {
|
||||
let new_masks: string[] = [];
|
||||
const new_masks: string[] = [];
|
||||
if ((m & 1) === 1) {
|
||||
new_masks.push('1');
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ const SettingsScheduler: FC = () => {
|
||||
};
|
||||
|
||||
const getFlagString = (f: number) => {
|
||||
let new_flags: string[] = [];
|
||||
const new_flags: string[] = [];
|
||||
if ((f & 1) === 1) {
|
||||
new_flags.push('1');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user