style: more codacy fixes

This commit is contained in:
David Ralph
2021-04-16 12:39:51 +01:00
parent 1ac6f418bf
commit cae2c5ef71
22 changed files with 72 additions and 73 deletions

View File

@@ -42,7 +42,7 @@ export default class Weather extends React.PureComponent {
humidity: this.state.weather.humidity,
pressure: this.state.weather.pressure
}
}
};
if (!this.state.weather.temp) {
data = await (await fetch (window.constants.WEATHER_URL + `?city=${this.state.location}`)).json();