function load (dispatch) {
  dispatch({ type: 'LOAD_START' })
  fetch('https://httpbin.org/ip')
    .then(res => res.json())
    .then(data =>
      dispatch({ type: 'LOAD_FINISH', data: data }))
    .catch(error =>
      dispatch({ type: 'LOAD_ERROR', error: error }))
}