This commit is contained in:
qiuchenfan 2025-11-17 19:29:17 +08:00
parent 93b467ba13
commit 56c08f7c8f
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ function WeatherIcon({ description, isDay, className = "w-16 h-16 md:w-20 md:h-2
}
export function WeatherDisplay2(){
export function WeatherDisplay(){
const {currentWeather} = useWeatherStore();
if(!currentWeather) return null;
@ -82,7 +82,7 @@ export function WeatherDisplay2(){
{currentWeather.current.weather_descriptions[0]}
</p>
<div className="flex items-center gap-2 text-white text-sm">
<Thermometer className="w-4 h-4"/>
<ThermometerSun className="w-4 h-4"/>
<span>{formatTemperature(currentWeather.current.feelslike)}°C</span>
</div>
</div>