diff --git a/frontend/components/StackedWhiteBoxes/StackedWhiteBoxes.jsx b/frontend/components/StackedWhiteBoxes/StackedWhiteBoxes.jsx index 82e2c731e5..f170b409bc 100644 --- a/frontend/components/StackedWhiteBoxes/StackedWhiteBoxes.jsx +++ b/frontend/components/StackedWhiteBoxes/StackedWhiteBoxes.jsx @@ -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;