一部状況によって通過駅がしまえなくなるバグを修正
This commit is contained in:
parent
40cb1f3251
commit
5a062351e3
@ -177,6 +177,7 @@ export const EachTrainInfoCore = ({
|
||||
const [isJumped, setIsJumped] = useState(false);
|
||||
useEffect(() => {
|
||||
if (isJumped) return () => {};
|
||||
setShowThrew(true);
|
||||
if (!points) return () => {};
|
||||
if (points.length == 0) return () => {};
|
||||
const position = points.findIndex((d) => d == true);
|
||||
|
Loading…
Reference in New Issue
Block a user