weather: fix api call

This commit is contained in:
ryjm 2020-10-23 14:13:47 -04:00
parent d8c83f886f
commit 27a5dc1e6d

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 });
});
}