AxiosAuth()
    .get('https://shopping-cart-be.herokuapp.com/api/store/sales')
    .then((res) => {
      setLoading(false);
      dispatch({ type: types.GET_SALES_HISTORY, payload: res.data });