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__) {
|
||||
try {
|
||||
await fetch('/api/auth/logout', { method: 'POST' });
|
||||
} catch (_) {
|
||||
} catch {
|
||||
// Server endpoint may not exist in dev mode
|
||||
}
|
||||
window.location.href = '/login';
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ class AudioContextManager {
|
|||
if (this.monoMergerNode) {
|
||||
try {
|
||||
this.monoMergerNode.disconnect();
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// Ignore if not connected
|
||||
}
|
||||
}
|
||||
|
|
@ -220,7 +220,7 @@ class AudioContextManager {
|
|||
// Only disconnect destination from analyser to preserve other taps (like Butterchurn)
|
||||
try {
|
||||
this.analyser.disconnect(this.audioContext.destination);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// 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;
|
||||
|
||||
const stored = localStorage.getItem(this.STORAGE_KEY);
|
||||
|
|
|
|||
Loading…
Reference in a new issue