fix: stop treating rainfall total as current rain

This commit is contained in:
zv
2026-06-02 15:10:37 +02:00
parent ce2e1176fa
commit 352287bc38
8 changed files with 11 additions and 39 deletions

View File

@@ -1,11 +1,10 @@
import { Cloud, CloudRain, CloudSun, MoonStar, Snowflake, ThermometerSun, Wind } from "lucide-react";
import { Cloud, CloudSun, MoonStar, Snowflake, ThermometerSun, Wind } from "lucide-react";
import type { WeatherMood } from "@/types/imgw";
export function WeatherIcon({ mood, className = "" }: { mood: WeatherMood; className?: string }) {
const Icon = {
warm: ThermometerSun,
cloudy: Cloud,
rain: CloudRain,
wind: Wind,
cold: Snowflake,
night: MoonStar,