chore: drop unused SWR hooks and dependency

useSchools, useFilters, useMetrics and useSchoolDetails were imported by
nothing and were the only consumers of swr. All data fetching goes through
lib/api.ts on the server.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Tudor
2026-08-02 21:39:59 +01:00
co-authored by Claude Opus 5
parent 752eb07310
commit 4c229aec6e
6 changed files with 2 additions and 155 deletions
-1
View File
@@ -26,7 +26,6 @@
"react-chartjs-2": "^5.3.1",
"react-dom": "^19.2.4",
"react-leaflet": "^5.0.0",
"swr": "^2.4.0",
"typescript": "^5.9.3",
"zod": "^4.3.6"
},