From eae87248715d61f2200dfd01fc518b881ca805b4 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 10 Mar 2025 23:19:49 +0000 Subject: [PATCH] [frontend]: Add better message when no train data for a station --- frontend/src/components/TrainStationPopup.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/TrainStationPopup.jsx b/frontend/src/components/TrainStationPopup.jsx index d2345f4..2e036c9 100644 --- a/frontend/src/components/TrainStationPopup.jsx +++ b/frontend/src/components/TrainStationPopup.jsx @@ -38,7 +38,7 @@ const TrainStationPopup = ({ item, objectTitle }) => { setTrainInfo(trainInfoHtml); } catch (error) { - setTrainInfo("Failed to fetch train data"); + setTrainInfo("No trains due in the next 90 minutes"); } };