mirror of
https://github.com/mue/mue.git
synced 2026-07-07 22:23:37 +02:00
fix: weather typo
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user