mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Update openmeteo-condition-map.js
This commit is contained in:
parent
e303888119
commit
f89093a067
@ -196,7 +196,6 @@ const conditions = [
|
||||
|
||||
export default function mapIcon(weatherStatusCode, timeOfDay) {
|
||||
const mapping = conditions.find((condition) => condition.code === weatherStatusCode);
|
||||
console.log(weatherStatusCode, timeOfDay, mapping);
|
||||
|
||||
if (mapping) {
|
||||
if (timeOfDay === "day") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user