dashboard.ts 237 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
import GeoService from 'service/GeoService';


export const autocompleteGeoTerm = (term: string) => (dispatch, getState) => {
    if (!term) {
        return Promise.resolve([]);
    }
    return GeoService.autocompleteGeoTerm(term);
};