mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
2552b37e90
DriveBand and SpillBlock leave RoadtripSidebar.tsx for their own module and are imported back by name. MODE_ICON goes with them, unexported, since only the drive band reads it, and the imports only these two used leave the sidebar. The code moves as it was, with the dashes in its comments rewritten as colons, commas and full stops. Nothing renders differently. New tests render both on their own: every travel mode's sign, the alternatives button and its pressed state, a hop, a ride with and without its booking and timetable, and a night drive that is automatic, has no leg yet or misses its figures.