chore: fix various lint warnings

This commit is contained in:
plebeius
2025-12-26 17:30:55 +01:00
parent c9c9a8a78d
commit 756bff4b04
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ interface DisclaimerModalState {
const hasAcceptedDisclaimer = (): boolean => {
try {
return localStorage.getItem(DISCLAIMER_ACCEPTED_KEY) === 'true';
} catch (error) {
} catch {
return false;
}
};
+1 -1
View File
@@ -40,7 +40,7 @@ const saveToLocalStorage = (key: string, set: Set<string>) => {
}
};
const useTopbarVisibilityStore = create<TopbarVisibilityState>((set, get) => {
const useTopbarVisibilityStore = create<TopbarVisibilityState>((set, _get) => {
// Initialize with all directories visible by default
const allBoardCodes = getAllBoardCodes();
const defaultVisibleDirectories = new Set(allBoardCodes);