Fix warnings
parent
cfb8340893
commit
10c9eeaea0
|
|
@ -578,7 +578,6 @@ function getWeatherIconByCode(code) {
|
||||||
default:
|
default:
|
||||||
return weatherRainy;
|
return weatherRainy;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
case 6:
|
case 6:
|
||||||
return weatherSnowy;
|
return weatherSnowy;
|
||||||
case 7:
|
case 7:
|
||||||
|
|
@ -594,11 +593,9 @@ function getWeatherIconByCode(code) {
|
||||||
default:
|
default:
|
||||||
return weatherCloudy;
|
return weatherCloudy;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
return undefined;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue