From 5867ad3aa84cd835850b997e8d3937f19b0912e7 Mon Sep 17 00:00:00 2001 From: harukin-DeskMini Date: Wed, 1 Feb 2023 21:49:57 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AA=E3=82=BF?= =?UTF-8?q?=E3=82=A4=E3=83=9F=E3=83=B3=E3=82=B0=E3=81=A7=E9=A7=85=E6=83=85?= =?UTF-8?q?=E5=A0=B1=E3=81=8C=E6=B6=88=E5=8E=BB=E3=81=95=E3=82=8C=E3=82=8B?= =?UTF-8?q?=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- menu.js | 1 - 1 file changed, 1 deletion(-) diff --git a/menu.js b/menu.js index 8e7c7f8..e8de24d 100644 --- a/menu.js +++ b/menu.js @@ -128,7 +128,6 @@ export default function Menu(props) { } } else { setCurrentStation(undefined); - StationBoardAcSR.current?.hide(); } }, [location, originalStationList]); From c2ca832b804afb3b5817afece0c98b4e9e504020 Mon Sep 17 00:00:00 2001 From: harukin-DeskMini Date: Sun, 5 Feb 2023 04:56:24 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E9=A7=85=E5=90=8D=E6=A8=99=E3=81=AB?= =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AA=E8=A6=81=E7=B4=A0=E3=81=8C=E6=AE=8B?= =?UTF-8?q?=E3=82=8B=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/駅名表/Sign.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/components/駅名表/Sign.js b/components/駅名表/Sign.js index 3d0484c..71f7ae7 100644 --- a/components/駅名表/Sign.js +++ b/components/駅名表/Sign.js @@ -145,10 +145,10 @@ const NexPreStationLine = ({ nexStation, preStation }) => { return ( - {preStation && ( + {preStation ? ( <> - {preStation.StationNumber && ( + {preStation.StationNumber ? ( { + ) : ( + <> )} + ) : ( + <> )} - {nexStation && ( + {nexStation ? ( <> - {nexStation.StationNumber && ( + {nexStation.StationNumber ? ( @@ -184,9 +188,13 @@ const NexPreStationLine = ({ nexStation, preStation }) => { + ) : ( + <> )} + ) : ( + <> )}