fix: weather typo

This commit is contained in:
David Ralph
2021-08-15 20:33:58 +01:00
parent e82ac7da9e
commit 5e4a14ba2c

View File

@@ -59,7 +59,7 @@ export default class Weather extends PureComponent {
};
if (!this.state.weather.temp) {
data = await (await fetch(window.constants.PROXY_URL + `/weather/current?city=${this.state.location}&lang=${window.languadecode}`)).json();
data = await (await fetch(window.constants.PROXY_URL + `/weather/current?city=${this.state.location}&lang=${window.languagecode}`)).json();
}
if (data.cod === '404') {