mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
87ca3df781
The place form, the service stop form, the stop popup, the stay release question, the trip and member dialogs, the booking, transport and transit editors, the importers and the booking detail move out of useTripPlanner into usePlannerDialogs, together with the ?create= and ?tab= effects and the AirTrail sync. plannerTypes.ts holds the option types the planner's sub-hooks share. useTripPlanner calls the new hook where that code used to sit, so every effect still runs in the same order and the planner returns the same object. The state setters it now receives from the hook are added to the dependency lists that use them; they never change identity, so nothing behaves differently.