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:
Alex Gleason 2020-06-21 20:32:32 +00:00
commit 473c2f9b21

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);
}