Updated forecast summary
This commit is contained in:
@@ -57,10 +57,6 @@ export function getWeatherCondition(data) {
|
||||
return { label: "Light Rain", code: 500, icon: "09d" };
|
||||
}
|
||||
|
||||
if (data.lightning_rate > 500) {
|
||||
return { label: "Thunderstorm", code: 211, icon: "11d" };
|
||||
}
|
||||
|
||||
if (data.visibility < 10) {
|
||||
return { label: "Mist", code: 701, icon: "50d" };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user