Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/directions/route-card.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ vi.mock('./summary', () => ({
summary: unknown;
title: string;
index: number;
routeCoordinates: number[][];
}) => <div data-testid={`mock-summary-${index}`}>Summary: {title}</div>,
}));

Expand Down
1 change: 1 addition & 0 deletions src/components/directions/route-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const RouteCard = ({ data, index }: RouteCardProps) => {
title={`${index === -1 ? 'Main Route' : 'Alternate Route #' + (index + 1)}`}
summary={data.trip.summary}
index={index}
routeCoordinates={data.decodedGeometry ?? []}
/>
<Collapsible open={showManeuvers} onOpenChange={setShowManeuvers}>
<div className="flex justify-between">
Expand Down
Loading
Loading