mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 13:54:20 +03:00
weather: fix api call
This commit is contained in:
parent
d8c83f886f
commit
27a5dc1e6d
@ -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 });
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user