mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 21:46:49 +00:00
15c1a5ae06
useLocationBias reads useTripStore; the sheet's harness only ever built a planner prop. So the hook saw an empty store, sent no hint, and the one case that asserts a box went red while its three siblings passed vacuously - they expect undefined, which an empty store produces no matter what they seed. capturedBias now seeds places, assignments and selectedDayId the way the running app has them, which puts all four cases back to work. The 500km case is retargeted from Tokyo/Sapporo to Tokyo/Nagoya: 264km across, biased under the old diagonal rule and dropped under the 60km radius one, so it guards the rule that actually shipped. A new 029b pins the day-first precedence - a trip too wide to bias still hints at the day being planned.