You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Remove unused 'user_limits' import (CI lint failure)
2. Move redis_client import to module top, remove late import in function
3. Replace real email with admin@example.com in .env.example
4. Convert AdminPage from useEffect+fetch to React Query (useQuery)
per CLAUDE.md: 'Use React Query for all server data fetching'
- queryKey: ['admin', 'users']
- changeTier invalidates query instead of manual state update
- refetch replaces fetchUsers callback
Skipped: sync->async route conversion. Supabase client is sync,
FastAPI correctly runs sync handlers in threadpool. Converting to
async def with sync DB calls would block the event loop.
flake8 passes. Build passes.
0 commit comments