fix: remove unwanted hover underline from forward advanced settings (#473)

* fix: remove forward advanced settings hover underline

* fix: clear frontend lint warnings
This commit is contained in:
sagit
2026-04-26 19:12:38 +08:00
committed by GitHub
parent 799bb66fe5
commit a625884d61
4 changed files with 5 additions and 11 deletions
@@ -360,11 +360,7 @@ export const useDashboardData = (): DashboardDataState => {
if (updateTime > storedTime) {
setIsAnnouncementModalOpen(true);
}
} catch (err) {
console.warn(
"Failed to read localStorage for announcement state",
err,
);
} catch {
setIsAnnouncementModalOpen(true);
}
} else {
@@ -385,8 +381,8 @@ export const useDashboardData = (): DashboardDataState => {
"flvx_announcement_seen_time",
announcement.update_time.toString(),
);
} catch (err) {
console.warn("Failed to set localStorage for announcement state", err);
} catch {
// Ignore localStorage write failures and keep the modal dismissed.
}
}
}, [announcement]);