diff options
author | David Roetzel <david@roetzel.de> | 2024-07-12 13:16:36 +0200 |
---|---|---|
committer | David Roetzel <david@roetzel.de> | 2024-07-12 13:16:36 +0200 |
commit | 37a4fb1bc999e7ab2bb84725f13f54a2f56811de (patch) | |
tree | 2635459557015429e630935f757a858bc5e01621 | |
parent | 62fff44644365619d158069d37a3e65d98611f42 (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.jsx | 2 |
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; |