Fix all ESLint errors: case declarations, empty blocks, display names, keys, and more

This commit is contained in:
alexsparkes
2025-10-27 23:27:13 +00:00
parent b5fbb9db9e
commit 6f05e3bf03
24 changed files with 92 additions and 45 deletions

View File

@@ -310,7 +310,11 @@ class QuickLinksOptions extends PureComponent {
if (this.handleRefresh) {
EventBus.off('refresh', this.handleRefresh);
} else {
try { EventBus.off('refresh'); } catch (e) {}
try {
EventBus.off('refresh');
} catch {
// Ignore errors
}
}
}
render() {