Standardise loading state naming across dashboard hooks

This commit is contained in:
2026-04-21 19:12:43 +02:00
parent 094fb4fece
commit b3eb5dc6ec
9 changed files with 25 additions and 25 deletions

View File

@@ -399,7 +399,7 @@ const source = timeRange === "24h" ? "fail2ban" : "archive";
---
### TASK-020 — Standardise `loading` vs `isLoading` naming across hooks
### TASK-020 — Standardise `loading` vs `isLoading` naming across hooks (done)
**Where found:** Dashboard and country-data hooks (`useBans`, `useBanTrend`, `useDashboardCountryData`) return `isLoading`. All other hooks (`useActiveBans`, `useJails`, `useBlocklists`, `useFilterList`, `useActionList`, etc.) return `loading`.