Prepare code for Eurostar/Trenitalia France/RENFE/ÖBB data input

This commit is contained in:
2024-02-10 17:33:36 +01:00
parent 77c3ef9e74
commit 16520c3664
19 changed files with 463 additions and 108 deletions

View File

@@ -11,7 +11,8 @@ function DateTimeSelector({stop, date, time}) {
const navigate = useNavigate()
function onStationSelected(event, stop) {
navigate(`/station/${stop.id}/`)
if (stop !== null)
navigate(`/station/${stop.id}/`)
}
return <>