summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/react/components/error_bar.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/error_bar.jsx b/web/react/components/error_bar.jsx
index a96917d92..787b716be 100644
--- a/web/react/components/error_bar.jsx
+++ b/web/react/components/error_bar.jsx
@@ -63,7 +63,7 @@ export default class ErrorBar extends React.Component {
ErrorStore.removeChangeListener(this.onErrorChange);
}
- componentWillUpdate(nextProps, nextState) {
+ componentDidUpdate(nextProps, nextState) {
if (this.isValidError(nextState)) {
var height = $(React.findDOMNode(this)).outerHeight();
height = height < 30 ? 30 : height;