Update openmeteo-condition-map.js

pull/640/head v0.5.4
Michael Shamoon 2 years ago
parent e303888119
commit f89093a067

@ -196,7 +196,6 @@ const conditions = [
export default function mapIcon(weatherStatusCode, timeOfDay) { export default function mapIcon(weatherStatusCode, timeOfDay) {
const mapping = conditions.find((condition) => condition.code === weatherStatusCode); const mapping = conditions.find((condition) => condition.code === weatherStatusCode);
console.log(weatherStatusCode, timeOfDay, mapping);
if (mapping) { if (mapping) {
if (timeOfDay === "day") { if (timeOfDay === "day") {

Loading…
Cancel
Save