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