diff --git a/src/store/weather.ts b/src/store/weather.ts index 1d505dd..71cfbfa 100644 --- a/src/store/weather.ts +++ b/src/store/weather.ts @@ -366,10 +366,9 @@ const useWeatherStore = create( }, }; - const isDay = weatherData.current.is_day === 1; + // const isDay = weatherData.current.is_day === 1; const weatherCode = weatherData.current.weather_code; - const url = - iconNumberToPng[weatherCode][isDay ? "day" : "night"].image; + const url = iconNumberToPng[weatherCode].day.image; weatherData.current = { ...weatherData.current, icon: url };