hk-planner/frontend/dist
jtricerolph fee388db4c Fix week navigation using ref to eliminate stale closure entirely
Previous wsArg approach still suffered from useCallback memoisation
interacting with React batching — loadAll could fire with the render-
before-last week start. Switch to weekStartRef (written before every
loadAll call and on every render) so loadAll always reads the live
value regardless of when the memoised function was created.

Also removes unused putWarningThresholds import (added externally).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-22 13:35:34 +00:00
..
assets Fix week navigation using ref to eliminate stale closure entirely 2026-07-22 13:35:34 +00:00
icons Fix date selector loading stale week — pass new dates directly to loadAll 2026-07-22 12:26:35 +00:00
index.html Fix week navigation using ref to eliminate stale closure entirely 2026-07-22 13:35:34 +00:00
manifest.webmanifest Fix date selector loading stale week — pass new dates directly to loadAll 2026-07-22 12:26:35 +00:00
registerSW.js Fix date selector loading stale week — pass new dates directly to loadAll 2026-07-22 12:26:35 +00:00
sw.js Fix week navigation using ref to eliminate stale closure entirely 2026-07-22 13:35:34 +00:00
workbox-9c191d2f.js Fix date selector loading stale week — pass new dates directly to loadAll 2026-07-22 12:26:35 +00:00