kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Replaced componentWillUpdate to componentDidUpdate. Fixes #185
rodzic
7e1457bb8d
commit
10ebea7489
|
@ -147,7 +147,7 @@ class RelativeTimestamp extends React.Component {
|
||||||
this._scheduleNextUpdate(this.props, this.state);
|
this._scheduleNextUpdate(this.props, this.state);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUpdate(nextProps, nextState) {
|
componentDidUpdate(nextProps, nextState) {
|
||||||
this._scheduleNextUpdate(nextProps, nextState);
|
this._scheduleNextUpdate(nextProps, nextState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue