小さなミスを修正

This commit is contained in:
harukin-expo-dev-env 2025-04-13 16:31:11 +00:00
parent 2c505c4b17
commit 748350178d
2 changed files with 3 additions and 3 deletions

View File

@ -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}
/>
);
}

View File

@ -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]);