Remove linter errors

pull/10616/head
Kevin Fitzpatrick 2016-10-17 11:23:54 -07:00 committed by Jade McGough
parent 25738d405f
commit dcd017413c
1 changed files with 2 additions and 8 deletions

View File

@ -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.