text: import axios from 'axios';
  import weatherKey from '../secret';
  
  const API_KEY = weatherKey;
  const ROOT_URL = `http://api.openweathermap.org/data/2.5/forecast?`;
  
  export const FETCH_WEATHER = 'FETCH_WEATHER';
  
  export function fetchWeather(city) {
      const url = `${ROOT_URL}q=${city},ca&appid=${API_KEY}`;
      const request = axios.get(url);
  
      return {
          type: FETCH_WEATHER,
          payload: request
      }
  }