export const fetchPoll = pollId => (dispatch, getState) => {
  dispatch(fetchPollRequest());

  api(getState).get(`/api/v1/polls/${pollId}`)
    .then(({ data }) => {