Replaced componentWillUpdate to componentDidUpdate. Fixes #185
This commit is contained in:
parent
7e1457bb8d
commit
10ebea7489
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue