import { formatTime } from "../utils/time"; import type { TrackPoint } from "../types"; type TrackSummaryProps = { lastPoint: TrackPoint | null; pointsCount: number; }; export const TrackSummary = ({ lastPoint, pointsCount }: TrackSummaryProps) => (