mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
bde734c50f
The road trip mode and feed flags, the driving preferences and the limit save, the day boundaries with their reset and drag controls, the vias, the refuel search, the routes, the corridor search, the followed track, the via counts and the via index helpers, the days folded in the rail and the map layers that follow those folds move out of useTripPlanner into useRoadtripFeed. useTripPlanner calls the hook where the feed used to sit, right after the trip overview, so the preference load, the boundary and via hooks, the routing round and the corridor search still run in the same order and the planner returns the same object. The helpers, the folds and the boundary controls are plain memos and callbacks, so computing them earlier changes nothing.