Inline some functions

This commit is contained in:
veeck
2021-09-02 20:37:41 +02:00
parent 9ee11654a6
commit a7756cec13
3 changed files with 3 additions and 8 deletions

View File

@@ -90,8 +90,7 @@ class WeatherObject {
}
kmhWindSpeed() {
const windInKmh = this.windUnits === "imperial" ? this.windSpeed * 1.609344 : (this.windSpeed * 60 * 60) / 1000;
return windInKmh;
return this.windUnits === "imperial" ? this.windSpeed * 1.609344 : (this.windSpeed * 60 * 60) / 1000;
}
nextSunAction() {