코드를 작성하는데, 예를 들어const fetchWeather = async (lat, lon) => { const key = import.meta.env.VITE_WEATHER_KEY const url = `https://api.openweathermap.org/data/2.5/weather?lat=${lat}&lon=${lon}&appid=${key}&lang=kr` try{ const respose = await fetch(url); const data = await respose.json() console.log(data) setWeather(data) } //도시 이름으로, 날씨 호출하기 함수 ..