summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Roetzel <david@roetzel.de>2024-07-12 13:16:36 +0200
committerDavid Roetzel <david@roetzel.de>2024-07-12 13:16:36 +0200
commit37a4fb1bc999e7ab2bb84725f13f54a2f56811de (patch)
tree2635459557015429e630935f757a858bc5e01621
parent62fff44644365619d158069d37a3e65d98611f42 (diff)
Do not blow up if no notifications exist.fixes/filtered-notification-bar-does-not-scroll
-rw-r--r--app/javascript/mastodon/features/notifications/index.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/notifications/index.jsx b/app/javascript/mastodon/features/notifications/index.jsx
index 1c2e78ce922..4ae97600d4e 100644
--- a/app/javascript/mastodon/features/notifications/index.jsx
+++ b/app/javascript/mastodon/features/notifications/index.jsx
@@ -216,7 +216,7 @@ class Notifications extends PureComponent {
/>
));
} else {
- scrollableContent = null;
+ scrollableContent = <> </>;
}
this.scrollableContent = scrollableContent;