fix linting errors
parent
cec7ad85e7
commit
ab08c4750f
|
@ -21,14 +21,14 @@ const AlertsApp = React.createClass({
|
|||
|
||||
getInitialState() {
|
||||
return {
|
||||
alerts: []
|
||||
alerts: [],
|
||||
};
|
||||
},
|
||||
|
||||
componentDidMount() {
|
||||
return getAlerts(this.props.source.links.proxy).then((resp) => {
|
||||
this.setState({alerts: resp.alerts})
|
||||
});
|
||||
return getAlerts(this.props.source.links.proxy).then((resp) => {
|
||||
this.setState({alerts: resp.alerts});
|
||||
});
|
||||
},
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in New Issue