1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-02 16:08:31 +00:00

eslint: unused vars; undeclared t

This commit is contained in:
lemonslut 2025-06-08 01:15:04 -06:00
parent b8eb8fdb04
commit 16478b3e1d
No known key found for this signature in database

View file

@ -2057,7 +2057,7 @@ export default class PlayerBase extends Module {
if ( ! cont ) { if ( ! cont ) {
// We need the native clip button, so we can dispatch a click. // We need the native clip button, so we can dispatch a click.
const on_click = e => { const on_click = () => {
const native = getNativeClipButton(container); const native = getNativeClipButton(container);
if (native) if (native)
native.click(); native.click();
@ -2187,7 +2187,8 @@ export default class PlayerBase extends Module {
addErrorResetButton(inst, tries = 0) { addErrorResetButton(inst, tries = 0) {
const outer = inst.props.containerRef || this.fine.getChildNode(inst), const outer = inst.props.containerRef || this.fine.getChildNode(inst),
container = outer && outer.querySelector('.content-overlay-gate'), container = outer && outer.querySelector('.content-overlay-gate'),
has_reset = this.settings.get('player.button.reset'); has_reset = this.settings.get('player.button.reset'),
t = this;
if ( ! container ) { if ( ! container ) {
if ( ! has_reset ) if ( ! has_reset )
@ -2383,7 +2384,7 @@ export default class PlayerBase extends Module {
} }
getUptime(inst) { getUptime() {
// TODO: Support multiple instances. // TODO: Support multiple instances.
const source = this.getData(), const source = this.getData(),
user = source?.props?.data?.user; user = source?.props?.data?.user;