diff --git a/app/component/itinerary/ItineraryPage.js b/app/component/itinerary/ItineraryPage.js index 1b13dd6cf6..a9213835a7 100644 --- a/app/component/itinerary/ItineraryPage.js +++ b/app/component/itinerary/ItineraryPage.js @@ -1197,7 +1197,7 @@ export default function ItineraryPage(props, context) { const pastSearch = Date.parse(combinedEdges[selectedIndex]?.node.end) < Date.now(); const navigateHook = - !desktop && config.experimental.navigation && !pastSearch + !desktop && config.experimental?.navigation && !pastSearch ? () => storeItineraryAndStartNavigation( combinedEdges[selectedIndex]?.node,