diff --git a/src/panel/direction/PublicTransportLine/index.tsx b/src/panel/direction/PublicTransportLine/index.tsx index 7f3f54226..ba603d70e 100644 --- a/src/panel/direction/PublicTransportLine/index.tsx +++ b/src/panel/direction/PublicTransportLine/index.tsx @@ -35,7 +35,6 @@ const PublicTransportLine: React.FunctionComponent = ( const lineColor = info?.lineColor ? Color('#' + info.lineColor) : Color('white'); return ( <> -
{mode && ( { >
setDetailsOpen(!detailsOpen)}>
+
+ + {from?.name && ( + + + {from.name} + + + )} + + {duration && stops.length > 0 && ( @@ -34,13 +45,6 @@ const PublicTransportLineLeg = ({ leg }) => { )} - {from?.name && ( - - - {from.name} - - - )} {detailsOpen && (
{stops.map((stop, index) => (