fix
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user