From cf64f2ca83b1b42c5570eaa0539669ac25968317 Mon Sep 17 00:00:00 2001 From: Chad Curtis Date: Mon, 1 Sep 2025 21:01:19 +0000 Subject: [PATCH] Update context for pagination duplication potential. --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index db9eaaa..6d8eb7d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -328,7 +328,7 @@ function useInfinitePosts() { }, getNextPageParam: (lastPage) => { if (lastPage.length === 0) return undefined; - return lastPage[lastPage.length - 1].created_at; + return lastPage[lastPage.length - 1].created_at - 1; // Subtract 1 since 'until' is inclusive }, initialPageParam: undefined, });