Standardise loading state naming across dashboard hooks
This commit is contained in:
@@ -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`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user