From f1ae57a1bef2f99f0481fc9410912449909a161d Mon Sep 17 00:00:00 2001 From: Bojan Mojsilovic Date: Thu, 7 Dec 2023 14:53:57 +0100 Subject: [PATCH] Set Notifications page limit to 100 --- src/lib/notifications.ts | 2 +- src/pages/Notifications.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/notifications.ts b/src/lib/notifications.ts index acf0995..7abc5c1 100644 --- a/src/lib/notifications.ts +++ b/src/lib/notifications.ts @@ -7,7 +7,7 @@ export const getNotifications = ( pubkey: string | undefined, subid: string, since = 0, - limit = 1000, + limit = 100, ) => { if (!pubkey) { return; diff --git a/src/pages/Notifications.tsx b/src/pages/Notifications.tsx index f874e4d..b6cfc89 100644 --- a/src/pages/Notifications.tsx +++ b/src/pages/Notifications.tsx @@ -4,7 +4,6 @@ import { nip19 } from 'nostr-tools'; import { Component, createEffect, createMemo, createSignal, For, onCleanup, Show } from 'solid-js'; import { createStore } from 'solid-js/store'; import { APP_ID } from '../App'; -import Branding from '../components/Branding/Branding'; import Loader from '../components/Loader/Loader'; import NotificationItem from '../components/Notifications/NotificationItem'; import NotificationItem2 from '../components/Notifications/NotificationItem2';