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);
setStation(data);
}, [ToData]);
// const lineColor =
// station.length > 0
// ? lineColorList[station[0]?.StationNumber.slice(0, 1)]
// : "black";
const lineColor = "red";
const lineColor =
station.length > 0
? lineColorList[station[0]?.StationNumber.slice(0, 1)]
: "black";
//const lineColor = "red";
const customTrainType = getTrainType({
type: customData.type,
whiteMode: true,