Don't fetch additional listings to map

This commit is contained in:
Mikko Koski 2018-03-08 14:30:34 +02:00
parent cea07182d3
commit b93eb15f1c

View file

@ -188,6 +188,11 @@ export class SearchPageComponent extends Component {
}
fetchMoreListingsToMap(location) {
// TODO Remove this function.
// Temporarily just return immediately to avoid merge conflicts.
return;
// eslint-disable-next-line no-unreachable
const { onSearchMapListings } = this.props;
const searchInURL = parse(location.search, {
latlng: ['origin'],