text: import { citiesService } from '../services';
  
  const fetchCitiesData = () => {
    return citiesService().getCities()
      .then(res => {
        return res.data
      })
      // Returning [] as a placeholder now so it does not error out when this service
      // fails. We should be handling this in our DISPATCH_REQUEST_FAILURE
      .catch(() => []);
  };
  
  export default fetchCitiesData;
  
  