mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-10 16:08:52 +01:00
Set limit to 80 for notifications
This commit is contained in:
parent
62f843b4dc
commit
025a5429cc
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue