mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 05:15:54 +00:00
eslint: disable one line of no unused vars & leave TODO comment
This commit is contained in:
parent
d7726f4072
commit
52ca7ecf42
1 changed files with 3 additions and 1 deletions
|
@ -1186,7 +1186,9 @@ export default class MainMenu extends Module {
|
||||||
key = params?.get('ffz-settings');
|
key = params?.get('ffz-settings');
|
||||||
current = key && settings.keys[key];
|
current = key && settings.keys[key];
|
||||||
if ( ! current )
|
if ( ! current )
|
||||||
restored = false;
|
restored = false; // eslint-disable-line no-unused-vars
|
||||||
|
// TODO: `restored` isn't used after this, but we go through
|
||||||
|
// a lot of effort to set it; do we need to?
|
||||||
}
|
}
|
||||||
if ( ! current )
|
if ( ! current )
|
||||||
current = this.has_update ?
|
current = this.has_update ?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue