Replaced componentWillUpdate to componentDidUpdate. Fixes #185

tl-language-filters
crockwave 2020-06-18 16:04:31 -05:00
rodzic 7e1457bb8d
commit 10ebea7489
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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