SignをID管理ベースに置き換え
This commit is contained in:
2
menu.js
2
menu.js
@@ -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 } =
|
||||
|
Reference in New Issue
Block a user