fix
This commit is contained in:
parent
84dbd0cc59
commit
ddcc5f053b
1
menu.js
1
menu.js
@ -114,7 +114,6 @@ export default function Menu({ getCurrentTrain }) {
|
|||||||
setSelectedCurrentStation(0);
|
setSelectedCurrentStation(0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(allStationData)
|
|
||||||
if (allStationData[selectedCurrentStation] == undefined) {
|
if (allStationData[selectedCurrentStation] == undefined) {
|
||||||
const count = selectedCurrentStation - 1;
|
const count = selectedCurrentStation - 1;
|
||||||
setSelectedCurrentStation(count);
|
setSelectedCurrentStation(count);
|
||||||
|
Loading…
Reference in New Issue
Block a user