Merge commit '27e84c069112a3d2abfad947642457cc997a261a' into glitch-soc/merge-upstream

This commit is contained in:
Claire committed 2023-10-10 19:53:41 +02:00
commit 3735e6f79d
7 files changed
+40 -21

No files matched your search

@@ -619,7 +619,7 @@ class Status extends ImmutablePureComponent {
shouldUpdateScroll = (prevRouterProps, { location }) => {
// Do not change scroll when opening a modal
if (location.state?.mastodonModalKey && location.state?.mastodonModalKey !== prevRouterProps?.location?.state?.mastodonModalKey) {
if (location.state?.mastodonModalKey !== prevRouterProps?.location?.state?.mastodonModalKey) {
return false;
}