Skip to content

Commit

Permalink
DBC22-1948: fix revision
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrel-oxd committed Apr 18, 2024
1 parent 16206aa commit 3402f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/Components/map/LocationSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function LocationSearch(props) {
onChange={setSelectedLocation}
onSearch={loadLocationOptions}
onBlur={() => {
if (location[0]) {
if (location && location.length) {
trackEvent(
'blur',
'route search',
Expand Down

0 comments on commit 3402f52

Please sign in to comment.