From 10ebea7489f5ef4795d36b2ad4c6f930677be532 Mon Sep 17 00:00:00 2001 From: crockwave Date: Thu, 18 Jun 2020 16:04:31 -0500 Subject: [PATCH] Replaced componentWillUpdate to componentDidUpdate. Fixes #185 --- app/soapbox/components/relative_timestamp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/components/relative_timestamp.js b/app/soapbox/components/relative_timestamp.js index e66c031c1..b67426c40 100644 --- a/app/soapbox/components/relative_timestamp.js +++ b/app/soapbox/components/relative_timestamp.js @@ -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); }