diff --git a/components/駅名表/Sign.js b/components/駅名表/Sign.js
index 7f07697..e5ec5cf 100644
--- a/components/駅名表/Sign.js
+++ b/components/駅名表/Sign.js
@@ -6,6 +6,8 @@ import { useInterval } from "../../lib/useInterval";
import { AS } from "../../storageControl";
import { useFavoriteStation } from "../../stateBox/useFavoriteStation";
+import lineColorList from "../../assets/originData/lineColorList";
+
export default function Sign(props) {
const { currentStation, originalStationList, oP, oLP } = props;
const { favoriteStation, setFavoriteStation } = useFavoriteStation();
@@ -24,7 +26,7 @@ export default function Sign(props) {
return false;
}
});
- setTestButtonStatus(isFavorite.length != 0);
+ setTestButtonStatus(isFavorite.length == 0 ? false : true);
}, [favoriteStation, currentStation]);
useInterval(() => {
@@ -220,27 +222,40 @@ const StationNumberMaker = (props) => {
};
return props.currentStation
.filter((d) => (d.StationNumber ? true : false))
- .map((d, index, array) => (
-
-
- {d.StationNumber}
-
-
- ));
+ .map((d, index, array) => {
+ const lineID = d.StationNumber.slice(0, 1);
+ const lineName = d.StationNumber.slice(1);
+ return (
+
+
+
+ {lineID + "\n" + lineName}
+
+
+
+ );
+ });
};
const StationNameArea = (props) => {