Skip to content

Commit

Permalink
refactor: add potential pitfall TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Oct 3, 2024
1 parent f606ce8 commit a8594cf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ export default function AccessLegDescription({
</S.LegDescriptionPlace>
);

// TODO: is this causing issues with TNC legs? Do walk legs leading to a TNC
// trip really have the same `to.stopId` as `from.stopId`?
const isTransferLeg = leg.to.stopId === leg.from.stopId;
return (
// Return an HTML element which is passed a className (and style props)
Expand Down

0 comments on commit a8594cf

Please sign in to comment.