From 025a5429cc1af3a3a4046c5c044be7c42a90cdb5 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 17 May 2024 18:32:12 +0800 Subject: [PATCH] Set limit to 80 for notifications --- src/pages/home.jsx | 2 +- src/pages/notifications.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/home.jsx b/src/pages/home.jsx index 621500ac..36a45352 100644 --- a/src/pages/home.jsx +++ b/src/pages/home.jsx @@ -84,7 +84,7 @@ function NotificationsLink() { ); } -const NOTIFICATIONS_LIMIT = 30; +const NOTIFICATIONS_LIMIT = 80; const NOTIFICATIONS_DISPLAY_LIMIT = 5; function NotificationsMenu({ anchorRef, state, onClose }) { const { masto, instance } = api(); diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx index cb68d4af..9843411a 100644 --- a/src/pages/notifications.jsx +++ b/src/pages/notifications.jsx @@ -33,7 +33,7 @@ import usePageVisibility from '../utils/usePageVisibility'; import useScroll from '../utils/useScroll'; import useTitle from '../utils/useTitle'; -const LIMIT = 30; // 30 is the maximum limit :( +const LIMIT = 80; const emptySearchParams = new URLSearchParams(); const scrollIntoViewOptions = {