text: import axios from 'axios';
  import * as types from './types';
  
  export const fetchUser = () => async dispatch => {
  	const res = await axios.get('/api/current_user');
  	dispatch({ type: types.FETCH_USER, payload: res.data });
  };
  