Skip to content

Commit

Permalink
Use cent sign for generalized cost
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Dec 17, 2024
1 parent 8d321e7 commit ddd44bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/ItineraryList/ItineraryDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function ItineraryDetails({ tripPattern }: { tripPattern: TripPattern })
<ItineraryLegDetails key={leg.id ? leg.id : `noid_${i}`} leg={leg} isLast={i === tripPattern.legs.length - 1} />
))}

<div className="generalized-cost">Generalized cost: ${tripPattern.generalizedCost}</div>
<div className="generalized-cost">Generalized cost: ¢{tripPattern.generalizedCost}</div>
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function ItineraryLegDetails({ leg, isLast }: { leg: Leg; isLast: boolean
<div className="itinerary-leg-details">
<div className="times">
{formatDistance(leg.distance)}, {formatDuration(leg.duration)},{' '}
<span title={'Generalized cost: $' + leg.generalizedCost}>${leg.generalizedCost}</span>
<span title={'Generalized cost: ¢' + leg.generalizedCost}>${leg.generalizedCost}</span>
</div>
<InterchangeInfo leg={leg} />
<LegTime
Expand Down

0 comments on commit ddd44bd

Please sign in to comment.