Use new getDerivedStateFromProps instead of deprecated componentWillReceiveProps
Use new getDerivedStateFromProps instead of deprecated componentWillReceiveProps

As we are already using the new getSnapshotBeforeUpdate lifecycle method,
we apparently cannot use the deprecated ones at all in this component.

Kirishima21/mastodon,im-in-space/mastodon,glitch-soc/mastodon,Kirishima21/mastodon,glitch-soc/mastodon,Kirishima21/mastodon,Kirishima21/mastodon,glitch-soc/mastodon,im-in-space/mastodon,im-in-space/mastodon,glitch-soc/mastodon,im-in-space/mastodon