The app never called invalidateQueries; a Tracker mutation only refetch()'d the one tracker query. So the sidebar overdue badge (['overdue-count'], 2-min staleTime), drift report, and bills list stayed stale after pay/skip/ edit — you could clear your last overdue bill and still see '3' for minutes. Added useInvalidateTrackerData() (tracker + overdue-count + drift-report + bills) and wired it into rows, BillModal.onSave, bank-sync, reorder, and the payment/late-attribution handlers. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public/img | ||
| App.jsx | ||
| api.js | ||
| index.css | ||
| main.jsx | ||