From 74f81dc7dc3aba0fcfb14ea4fcec4ce7be252a34 Mon Sep 17 00:00:00 2001 From: NishilJ <78994772+NishilJ@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:56:48 -0600 Subject: [PATCH] color 2 --- src/components/Departures.tsx | 12 ++++++++---- src/components/TripPlanner.tsx | 6 ++++-- src/components/UpdateAccount.tsx | 3 ++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/components/Departures.tsx b/src/components/Departures.tsx index fb230e0..25ffe78 100644 --- a/src/components/Departures.tsx +++ b/src/components/Departures.tsx @@ -206,7 +206,8 @@ const Departures: React.FC = () => { {/* First box for the ComboBox and Buttons */} { {/* Conditional rendering for Favorites section */} {showFavoritesMenu && ( { {/* Second box for departures information */} { const arrivalTime = selectedStop.place?.arrival; return ( - + Route: {selectedStop.routeShortName}
Headsign: {selectedStop.headsign}
diff --git a/src/components/TripPlanner.tsx b/src/components/TripPlanner.tsx index c8f5dea..1a57d13 100644 --- a/src/components/TripPlanner.tsx +++ b/src/components/TripPlanner.tsx @@ -300,7 +300,8 @@ const TripPlanner: React.FC = () => { {/* Display Trip Suggestions */} {showTrips && ( - {error ? ( {error} @@ -330,7 +331,8 @@ const TripPlanner: React.FC = () => { {/* Display Trip Details */} {showTripDetails && ( - {fromPlace?.name} - {toPlace?.name} diff --git a/src/components/UpdateAccount.tsx b/src/components/UpdateAccount.tsx index 6277611..56c70ea 100644 --- a/src/components/UpdateAccount.tsx +++ b/src/components/UpdateAccount.tsx @@ -115,7 +115,8 @@ const UpdateAccount: React.FC = () => { return ( - + Account Settings