小さなミスを修正
This commit is contained in:
parent
2c505c4b17
commit
748350178d
@ -106,7 +106,7 @@ export const CarouselBox = ({
|
||||
onPress={() => setSelectedCurrentStation(index)}
|
||||
currentStation={d}
|
||||
active={active}
|
||||
key={numberIndex}
|
||||
key={numberIndex + index}
|
||||
/>
|
||||
);
|
||||
} else {
|
||||
@ -114,7 +114,7 @@ export const CarouselBox = ({
|
||||
<SimpleDot
|
||||
onPress={() => setSelectedCurrentStation(index)}
|
||||
active={active}
|
||||
key={numberIndex}
|
||||
key={numberIndex + index}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
2
menu.js
2
menu.js
@ -113,7 +113,7 @@ export default function Menu({ getCurrentTrain, scrollRef }) {
|
||||
);
|
||||
} else {
|
||||
setAllStationData(
|
||||
[currentStation, ...favoriteStation].filter((d) => d != undefined)
|
||||
favoriteStation.filter((d) => d != undefined)
|
||||
);
|
||||
}
|
||||
}, [currentStation, favoriteStation, stationListMode]);
|
||||
|
Loading…
Reference in New Issue
Block a user