From 199b44d280aa8f512f03b98fc840bcf3de950cb7 Mon Sep 17 00:00:00 2001 From: codytseng Date: Mon, 4 Nov 2024 09:39:20 +0800 Subject: [PATCH] fix: pagination --- src/renderer/src/components/NoteList/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/NoteList/index.tsx b/src/renderer/src/components/NoteList/index.tsx index e2e6d369..ae04aee4 100644 --- a/src/renderer/src/components/NoteList/index.tsx +++ b/src/renderer/src/components/NoteList/index.tsx @@ -84,7 +84,7 @@ export default function NoteList({ observer.current.unobserve(bottomRef.current) } } - }, [initialized]) + }, [until, initialized]) const loadMore = async () => { const events = await client.fetchEvents({ ...noteFilter, until })