Merge pull request #3790 from ryjm/ryjm/fix-weather-api

weather: fix api call
This commit is contained in:
matildepark 2020-10-23 14:20:49 -04:00 committed by GitHub
commit ae5561ee61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ export default class WeatherTile extends React.Component {
}, (err) => {
console.log(err);
}, { maximumAge: Infinity, timeout: 10000 });
this.props.api.weather(latlng);
this.props.api.launch.weather(latlng);
this.setState({ manualEntry: !this.state.manualEntry });
});
}