mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
41dabbda6e
The day route toggle and its travel profile, the whole-trip overview, the map lock, the recorded Dawarich trail, the fit key and the effect that fits each trip once move out of useTripPlanner into usePlannerMapView. A new test calls every toggle and the automatic route, which no test reached before. useTripPlanner calls the hook where that code used to sit, so the Dawarich fetch and the first fit still run in the same order and the planner returns the same object. handleSelectDay now lists the map lock ref, the phone ref and setFitKey it receives from the hook; they never change identity, so nothing behaves differently.