Set limit to 80 for notifications

This commit is contained in:
Lim Chee Aun 2024-05-17 18:32:12 +08:00
parent 62f843b4dc
commit 025a5429cc
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ function NotificationsLink() {
); );
} }
const NOTIFICATIONS_LIMIT = 30; const NOTIFICATIONS_LIMIT = 80;
const NOTIFICATIONS_DISPLAY_LIMIT = 5; const NOTIFICATIONS_DISPLAY_LIMIT = 5;
function NotificationsMenu({ anchorRef, state, onClose }) { function NotificationsMenu({ anchorRef, state, onClose }) {
const { masto, instance } = api(); const { masto, instance } = api();

View file

@ -33,7 +33,7 @@ import usePageVisibility from '../utils/usePageVisibility';
import useScroll from '../utils/useScroll'; import useScroll from '../utils/useScroll';
import useTitle from '../utils/useTitle'; import useTitle from '../utils/useTitle';
const LIMIT = 30; // 30 is the maximum limit :( const LIMIT = 80;
const emptySearchParams = new URLSearchParams(); const emptySearchParams = new URLSearchParams();
const scrollIntoViewOptions = { const scrollIntoViewOptions = {