text: import axios from 'axios';
  
  const URL = 'https://api.openweathermap.org/data/2.5/weather';
  const API_KEY = 'f73d809a467d012fdd2f16f3f6d49cf5';
  
  export const fetchWeather = async (query) => {
      const { data } = await axios.get(URL, {
          params: {
              q: query,
              units: 'metric',
              APPID: API_KEY,
          }
      });
  
      return data;
  }