Removing the eslint disable line (#577)

This commit is contained in:
Kyle Knight 2016-12-07 14:19:13 -06:00 committed by GitHub
parent 6d9ad56e6d
commit 6f75bf5393

View file

@ -30,14 +30,19 @@ class StackedWhiteBoxes extends Component {
});
}
/* eslint-disable react/no-did-mount-set-state */
componentDidMount () {
const { didLoad } = this;
didLoad();
return false;
}
didLoad = () => {
this.setState({
isLoading: false,
isLoaded: true,
});
}
/* eslint-enable react/no-did-mount-set-state */
nowLeaving = (evt) => {
const { window } = global;