Prepare code for Eurostar/Trenitalia France/RENFE/ÖBB data input
This commit is contained in:
@@ -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 <>
|
||||
|
Reference in New Issue
Block a user