whisper-money/resources
Víctor Falcón 4028e5dfa3
refactor(js): use shared formatMonthFromYearMonth in dashboard (#482)
## What

`use-dashboard-data.ts` had a private `formatMonth()` duplicating
`utils/date.ts` `formatMonthFromYearMonth()`.

Removed the local copy; dashboard now uses the shared util.

**Tiny visual change:** non-current-year labels on dashboard net-worth
chart render `Jan '26` instead of `Jan 26` — now consistent with
cashflow-trend and account-balance charts which already use the shared
util.

## Stats

- **-14 / +2 lines**

## Checks

- `bun run test` — 154 passed
- `bun run lint` — clean (1 pre-existing warning)

Part of duplication-removal series (#475–#481).
2026-06-03 19:00:46 +02:00
..
css fix: keep iOS popovers below the notch (#282) 2026-04-13 15:19:56 +01:00
js refactor(js): use shared formatMonthFromYearMonth in dashboard (#482) 2026-06-03 19:00:46 +02:00
views feat(settings): let users disable bank transactions email (#472) 2026-06-02 12:24:39 +02:00