mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-20 22:16:26 +00:00
1d7c8a63e2
The hike's limit and preferences, the bike profile and the run profile were four states with four refs kept in step by hand in every handler that set them. useRoutingChoices holds them as one value with one ref, so a history step, an undo, a new draft and an opened tour each lay them in with one call, and useTourPlanner is back under the size limit.