diff --git a/client/src/components/Roadtrip/RoadtripCorridorPanel.tsx b/client/src/components/Roadtrip/RoadtripCorridorPanel.tsx index 3e8ed056c..255cc7c9c 100644 --- a/client/src/components/Roadtrip/RoadtripCorridorPanel.tsx +++ b/client/src/components/Roadtrip/RoadtripCorridorPanel.tsx @@ -7,7 +7,6 @@ import { useTranslation } from '../../i18n/TranslationContext' import { useSettingsStore } from '../../store/settingsStore' import { formatDistance } from '../../utils/units' import CustomSelect from '../shared/CustomSelect' -import { formatDurationShort } from './roadtripModel' import { CORRIDOR_CATEGORY_KEYS, CORRIDOR_WIDTHS_KM, type RoadtripCorridor } from './useRoadtripCorridor' import type { CorridorPoi } from './useCorridorPois' import type { RoadtripRoutes } from './useRoadtripRoutes' @@ -119,18 +118,8 @@ export default function RoadtripCorridorPanel({ corridor, routes, onAddPoi }: Ro return (
{t('roadtrip.poi.hint')}
- {corridor.day ? ( - // Under the title rather than beside it: the rail is narrow enough that a - // second element on the heading line pushes the heading into two. -- {formatDistance(corridor.day.distance / 1000, distanceUnit)} - · - {formatDurationShort(corridor.day.duration)} -
- ) : null}