diff --git a/components/ActionSheetComponents/EachTrainInfo.js b/components/ActionSheetComponents/EachTrainInfo.js index 63eb1c2..8d2f316 100644 --- a/components/ActionSheetComponents/EachTrainInfo.js +++ b/components/ActionSheetComponents/EachTrainInfo.js @@ -23,6 +23,7 @@ export const EachTrainInfo = ({ navigate, originalStationList, openStationACFromEachTrainInfo, + from, }) => { const [trainData, setTrainData] = useState([]); const stationList = @@ -106,6 +107,7 @@ export const EachTrainInfo = ({ navigate("trainbase", { info: "train.html?tn=" + data.trainNum, + from, }); setRef.current?.hide(); }} @@ -175,8 +177,8 @@ export const EachTrainInfo = ({ > ))}