Merge branch 'componentWillUpdate_to_DidUpdate_refactor' into 'develop'
Replaced componentWillUpdate to componentDidUpdate. Fixes #185 Closes #185 See merge request soapbox-pub/soapbox-fe!79
This commit is contained in:
commit
473c2f9b21
1 changed files with 1 additions and 1 deletions
|
@ -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