From a65ebbf5afda203f91ce59e1e3e35783f311c783 Mon Sep 17 00:00:00 2001 From: highperfocused Date: Thu, 1 May 2025 13:02:16 +0200 Subject: [PATCH] fix: Update event fetching limits and kinds in ProfileFeed and ProfileQuickViewFeed components --- components/ProfileFeed.tsx | 4 ++-- components/ProfileQuickViewFeed.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/ProfileFeed.tsx b/components/ProfileFeed.tsx index 006f03d..b141dcf 100644 --- a/components/ProfileFeed.tsx +++ b/components/ProfileFeed.tsx @@ -12,12 +12,12 @@ interface ProfileFeedProps { const ProfileFeed: React.FC = ({ pubkey }) => { const now = useRef(new Date()); - const [limit, setLimit] = useState(10); + const [limit, setLimit] = useState(100); const { events, isLoading } = useNostrEvents({ filter: { authors: [pubkey], - kinds: [20], + kinds: [1, 20], limit: limit, }, }); diff --git a/components/ProfileQuickViewFeed.tsx b/components/ProfileQuickViewFeed.tsx index 5f3cc23..21bb265 100644 --- a/components/ProfileQuickViewFeed.tsx +++ b/components/ProfileQuickViewFeed.tsx @@ -11,13 +11,13 @@ interface ProfileQuickViewFeedProps { const ProfileQuickViewFeed: React.FC = ({ pubkey }) => { const now = useRef(new Date()); // Make sure current time isn't re-rendered - const [limit, setLimit] = useState(20); + const [limit, setLimit] = useState(100); const { isLoading, events } = useNostrEvents({ filter: { authors: [pubkey], limit: limit, - kinds: [20], + kinds: [1, 20], }, });