diff --git a/components/ActionSheetComponents/EachTrainInfo.js b/components/ActionSheetComponents/EachTrainInfo.js index e284da8..71599d4 100644 --- a/components/ActionSheetComponents/EachTrainInfo.js +++ b/components/ActionSheetComponents/EachTrainInfo.js @@ -28,7 +28,7 @@ export const EachTrainInfo = (props) => { data, navigate, originalStationList, - openStationACFromEachTrainInfo, + openStationACFromEachTrainInfo = () => {}, from, } = props.payload; const [trainData, setTrainData] = useState([]);