mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Removing the eslint disable line (#577)
This commit is contained in:
parent
6d9ad56e6d
commit
6f75bf5393
1 changed files with 7 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue