Skip to content

Commit

Permalink
bug fix in merge
Browse files Browse the repository at this point in the history
  • Loading branch information
karussell committed Jul 17, 2024
1 parent 8177b73 commit a897bd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sidebar/search/AddressInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ export default function AddressInput(props: AddressInputProps) {

hits.forEach(hit => {
const obj = hitToItem(hit)
return new GeocodingItem(
items.push(new GeocodingItem(
obj.mainText,
obj.secondText,
hit.point,
hit.extent ? hit.extent : getBBoxFromCoord(hit.point)
)
))
})

// TODO autocompleteItems is empty here because query point changed from outside somehow
Expand Down

0 comments on commit a897bd6

Please sign in to comment.