SignをID管理ベースに置き換え

This commit is contained in:
harukin-expo-dev-env
2025-04-13 15:43:10 +00:00
parent 3b98882d80
commit ac06ca6c75
6 changed files with 52 additions and 39 deletions

View File

@@ -82,7 +82,6 @@ export default function Menu({ getCurrentTrain, scrollRef }) {
let returnDataBase = lineList
.map((d) => findStationEachLine(originalStationList[d]))
.filter((d) => {
console.log(d);
return d.length > 0})
.reduce((pre, current) => {
pre.push(...current);
@@ -135,7 +134,6 @@ export default function Menu({ getCurrentTrain, scrollRef }) {
}, [selectedCurrentStation]);
useEffect(() => {
console.log(selectedCurrentStation);
if (allStationData.length == 0) return;
if (allStationData[selectedCurrentStation] == undefined) return;
const { lat, lng } =