変数の定義をミスしていたので修正
This commit is contained in:
@@ -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();
|
||||
}}
|
||||
>
|
||||
|
Reference in New Issue
Block a user