Replaced componentWillUpdate to componentDidUpdate. Fixes #185

merge-requests/79/head
crockwave 4 years ago
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…
Cancel
Save