リファクタリング

This commit is contained in:
harukin-DeskMini
2022-09-28 19:13:10 +09:00
parent 209568df4c
commit dc089cf8f0
3 changed files with 11 additions and 21 deletions

View File

@@ -55,13 +55,7 @@ export default function trainMenu({
}}
onPress={() => {
webview.current?.injectJavaScript(
"MoveDisplayStation('" +
d +
"_" +
D.MyStation +
"_" +
D.Station_JP +
"')"
`MoveDisplayStation('${d}_${D.MyStation}_${D.Station_JP}')`
);
navigate("Apps");
}}