update project

This commit is contained in:
Romulus21
2025-10-08 11:35:48 +02:00
parent f5bddca70c
commit 07cca53ce3
9 changed files with 5612 additions and 4605 deletions

View File

@@ -110,7 +110,6 @@ const WeatherCard: FC<{ date: string, values: WeatherValue[] }> = ({date, values
const [showDetails, setShowDetails] = useState(false)
useEffect(() => {
console.log(values)
const weatherState = {
min: 100,
max: -100,
@@ -171,7 +170,7 @@ const WeatherCard: FC<{ date: string, values: WeatherValue[] }> = ({date, values
<span className="text-secondary dark:text-secondary-ligth">{weatherState?.min.toFixed()} °C</span>
</div>
</div>
<WeatherDetails showDetails={showDetails} closeDetails={() => showDetails(false)} values={values}/>
<WeatherDetails showDetails={showDetails} closeDetails={() => setShowDetails(false)} values={values}/>
</>
}