This commit is contained in:
harukin-expo-dev-env
2025-09-14 18:27:01 +00:00
parent acb1849544
commit 2fe525d620

View File

@@ -206,11 +206,11 @@ export const FixedTrain: FC<props> = ({
const data = getStationDataFromName(ToData); const data = getStationDataFromName(ToData);
setStation(data); setStation(data);
}, [ToData]); }, [ToData]);
// const lineColor = const lineColor =
// station.length > 0 station.length > 0
// ? lineColorList[station[0]?.StationNumber.slice(0, 1)] ? lineColorList[station[0]?.StationNumber.slice(0, 1)]
// : "black"; : "black";
const lineColor = "red"; //const lineColor = "red";
const customTrainType = getTrainType({ const customTrainType = getTrainType({
type: customData.type, type: customData.type,
whiteMode: true, whiteMode: true,