text: import axios from 'axios';
  
  const axiosWithAuth = ()=> {
      const token = localStorage.getItem('token');
  
      return axios.create({
          headers: {
              authorization: token
          },
          baseURL: `https://ft-anywherefitness-7.herokuapp.com/api`
      });
  }
  
  export default axiosWithAuth;