import fetch from 'isomorphic-fetch'

export const REQUEST_BUS_STOPS = 'REQUEST_BUS_STOPS'
export const RECEIVE_BUS_STOPS = 'RECEIVE_BUS_STOPS'

function requestBusStops(meters, coors) {
  return {
    type: REQUEST_POSTS
  }
}

function receiveBusStops(received) {
  return {
    type: RECEIVE_POSTS
  }
}

import fetch from 'isomorphic-fetch'

//
//  action types
//

export const REQUEST_BUS_STOPS_AROUND_ME = 'REQUEST_BUS_STOPS_AROUND_ME'
export const RECEIVE_BUS_STOPS_AROUND_ME = 'RECEIVE_BUS_STOPS_AROUND_ME'

//
//  action creators
//

export function requestBusStopsAroundMe(meters, coors) {
  return {
    type: REQUEST_BUS_STOPS_AROUND_ME,
    meters,
    coors
  }
}

export function receiveBusStopsAroundMe(BusStopsAroundMe) {
  return {
    type: RECEIVE_BUS_STOPS_AROUND_ME,
    BusStopsAroundMe
  }
}
 5*

Add cations like redux strucure
Add cations like redux strucure
