1115
This commit is contained in:
parent
93b467ba13
commit
56c08f7c8f
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue