From 6f75bf53931c95681e9b27e217f10a87525c0fbe Mon Sep 17 00:00:00 2001 From: Kyle Knight Date: Wed, 7 Dec 2016 14:19:13 -0600 Subject: [PATCH] Removing the eslint disable line (#577) --- .../components/StackedWhiteBoxes/StackedWhiteBoxes.jsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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;