text: import axios from 'axios';
  
  export const FETCH_USERS = 'FETCH_USERS';
  
  export function fetchUsers() {
    const request = axios.get('http://jsonplaceholder.typicode.com/users');
  
    return (dispatch) => {
      request.then((response) => {
        dispatch({ type: FETCH_USERS, payload: response })
      });
    }
  
    // return {
    //   type: FETCH_USERS,
    //   payload: request
    // }
  }
  