From a8594cffb2a8f92a33f253456f2f17f1bf7a764f Mon Sep 17 00:00:00 2001 From: miles-grant-ibigroup Date: Thu, 3 Oct 2024 07:49:27 -0400 Subject: [PATCH] refactor: add potential pitfall TODO --- packages/itinerary-body/src/defaults/access-leg-description.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/itinerary-body/src/defaults/access-leg-description.tsx b/packages/itinerary-body/src/defaults/access-leg-description.tsx index 2d02a6df0..6ac1ba261 100644 --- a/packages/itinerary-body/src/defaults/access-leg-description.tsx +++ b/packages/itinerary-body/src/defaults/access-leg-description.tsx @@ -89,6 +89,8 @@ export default function AccessLegDescription({ ); + // 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)