変数の定義をミスしていたので修正

This commit is contained in:
harukin-expo-dev-env
2025-08-31 16:15:32 +00:00
parent b37b40b6a8
commit eda1d10c0c

View File

@@ -23,12 +23,12 @@ export const StationTrainPositionButton: FC<Props> = (props) => {
}}
onLongPress={() => {
navigate("positions", { screen: "Apps" });
setInjectData({ type: "station", stationNumber, fixed: true });
setInjectData({ type: "station", value:stationNumber, fixed: true });
onExit();
}}
onPress={() => {
navigate("positions", { screen: "Apps" });
setInjectData({ type: "station", stationNumber, fixed: false });
setInjectData({ type: "station", value: stationNumber, fixed: false });
onExit();
}}
>