Remove linter errors
parent
25738d405f
commit
dcd017413c
|
@ -21,16 +21,10 @@ const AlertsApp = React.createClass({
|
|||
|
||||
getInitialState() {
|
||||
return {
|
||||
alerts: [],
|
||||
alerts: getAlerts(),
|
||||
};
|
||||
},
|
||||
|
||||
componentDidMount() {
|
||||
this.setState(
|
||||
{ alerts:getAlerts() }
|
||||
);
|
||||
},
|
||||
|
||||
render() {
|
||||
return (
|
||||
// I stole this from the Hosts page.
|
||||
|
|
Loading…
Reference in New Issue