diff --git a/client/src/components/ItineraryList/ItineraryLegDetails.tsx b/client/src/components/ItineraryList/ItineraryLegDetails.tsx index 488ff34f197..e75813a4a45 100644 --- a/client/src/components/ItineraryList/ItineraryLegDetails.tsx +++ b/client/src/components/ItineraryList/ItineraryLegDetails.tsx @@ -10,14 +10,9 @@ export function ItineraryLegDetails({ leg, isLast }: { leg: Leg; isLast: boolean
{formatDistance(leg.distance)}, {formatDuration(leg.duration)}
- - - - - + + -{' '} +
{leg.mode}{' '} {leg.line && ( @@ -28,11 +23,10 @@ export function ItineraryLegDetails({ leg, isLast }: { leg: Leg; isLast: boolean , {leg.authority?.name} )}{' '} - {leg.mode !== Mode.Foot && ( <> -
- {leg.fromPlace.name} →{' '} +
+ {leg.fromPlace.name} →{' '} )}{' '} {!isLast && {leg.toPlace.name}}