Skip to content

Commit

Permalink
Handle if geocoderResultsOrder is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
amy-corson-ibigroup committed Dec 10, 2024
1 parent 4d61336 commit 015dfd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/app/batch-routing-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const mapStateToProps = (state: any) => {
const { mainPanelContent } = state.otp.ui
const currentQuery = state.otp.currentQuery

const { geocoderResultsOrder } = state.otp.config.geocoder
const geocoderResultsOrder = state.otp.config?.geocoder?.geocoderResultsOrder
return {
activeSearch: getActiveSearch(state),
currentQuery,
Expand Down

0 comments on commit 015dfd4

Please sign in to comment.