cf061c1505a0fea9ba00061438c58cf24a19a832
The budgetData was stored in a separate useState and updated inside queryFn. When switching years, React Query served cached data with isLoading=false but the local state still held the previous year's data, causing the "no budget" empty state to flash intermittently. Fix: Use query data directly as source of truth. Local state (editData) is only used when actively editing. Added a small spinner indicator when refetching in the background. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
HOA Financial Intelligence Platform - Multi-tenant financial management for homeowner associations
Languages
TypeScript
98.2%
Shell
1.3%
PLpgSQL
0.2%
Dockerfile
0.1%
HTML
0.1%