From f1b0b5f7ceaf6d23ae347e12cf29eef617c7dc9b Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sat, 21 Mar 2026 00:36:25 +0100 Subject: feat: enhance geocoding and stop search with performance metrics and improved response handling --- src/frontend/app/routes/planner.tsx | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'src/frontend/app/routes/planner.tsx') diff --git a/src/frontend/app/routes/planner.tsx b/src/frontend/app/routes/planner.tsx index c2fc648..d70da87 100644 --- a/src/frontend/app/routes/planner.tsx +++ b/src/frontend/app/routes/planner.tsx @@ -805,22 +805,24 @@ const ItineraryDetail = ({ )} {/* Intermediate stops */} - {leg.intermediateStops.map((stop, sIdx) => ( -
  • - - - {stop.name} - - {stop.stopCode && ( - - {stop.stopCode} + {leg.intermediateStops + .slice(1, -1) + .map((stop, sIdx) => ( +
  • + + + {stop.name} - )} -
  • - ))} + {stop.stopCode && ( + + {stop.stopCode} + + )} + + ))} {/* Alighting stop */}
  • -- cgit v1.3