fix linting
This commit is contained in:
parent
c77507dfe0
commit
7e6ff83192
3 changed files with 4 additions and 4 deletions
|
|
@ -106,7 +106,7 @@ export class AuthManager {
|
||||||
if (window.__AUTH_GATE__) {
|
if (window.__AUTH_GATE__) {
|
||||||
try {
|
try {
|
||||||
await fetch('/api/auth/logout', { method: 'POST' });
|
await fetch('/api/auth/logout', { method: 'POST' });
|
||||||
} catch (_) {
|
} catch {
|
||||||
// Server endpoint may not exist in dev mode
|
// Server endpoint may not exist in dev mode
|
||||||
}
|
}
|
||||||
window.location.href = '/login';
|
window.location.href = '/login';
|
||||||
|
|
|
||||||
|
|
@ -212,7 +212,7 @@ class AudioContextManager {
|
||||||
if (this.monoMergerNode) {
|
if (this.monoMergerNode) {
|
||||||
try {
|
try {
|
||||||
this.monoMergerNode.disconnect();
|
this.monoMergerNode.disconnect();
|
||||||
} catch (e) {
|
} catch {
|
||||||
// Ignore if not connected
|
// Ignore if not connected
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -220,7 +220,7 @@ class AudioContextManager {
|
||||||
// Only disconnect destination from analyser to preserve other taps (like Butterchurn)
|
// Only disconnect destination from analyser to preserve other taps (like Butterchurn)
|
||||||
try {
|
try {
|
||||||
this.analyser.disconnect(this.audioContext.destination);
|
this.analyser.disconnect(this.audioContext.destination);
|
||||||
} catch (e) {
|
} catch {
|
||||||
// Ignore if not connected
|
// Ignore if not connected
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ export const apiSettings = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async getInstances(type = 'api', sortBySpeed = false) {
|
async getInstances(type = 'api', _sortBySpeed = false) {
|
||||||
let instancesObj;
|
let instancesObj;
|
||||||
|
|
||||||
const stored = localStorage.getItem(this.STORAGE_KEY);
|
const stored = localStorage.getItem(this.STORAGE_KEY);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue