Merge branch 'componentWillUpdate_to_DidUpdate_refactor' into 'develop'

Replaced componentWillUpdate to componentDidUpdate. Fixes #185

Closes #185

See merge request soapbox-pub/soapbox-fe!79
merge-requests/82/head
Alex Gleason 4 years ago
commit 473c2f9b21

@ -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…
Cancel
Save