Tier B moved the tracker's display settings onto a React Query cache (staleTime 5m). SettingsPage saves via its own path and didn't touch that cache, so toggling a region off (e.g. the Overdue Command Center) could leave the tracker showing the stale value for up to 5 minutes. Invalidate the ['settings'] query after a successful save so returning to the tracker refetches and the toggle takes effect immediately. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public/img | ||
| App.tsx | ||
| api.ts | ||
| index.css | ||
| main.tsx | ||
| types.ts | ||