Replaced componentWillUpdate to componentDidUpdate. Fixes #185

This commit is contained in:
crockwave 2020-06-18 16:04:31 -05:00
parent 7e1457bb8d
commit 10ebea7489

View file

@ -147,7 +147,7 @@ class RelativeTimestamp extends React.Component {
this._scheduleNextUpdate(this.props, this.state);
}
componentWillUpdate(nextProps, nextState) {
componentDidUpdate(nextProps, nextState) {
this._scheduleNextUpdate(nextProps, nextState);
}