From f1197d6ba0adca36074975f30877bba63499c1b6 Mon Sep 17 00:00:00 2001 From: thislight Date: Tue, 29 Oct 2024 14:19:27 +0800 Subject: [PATCH] TimelinePanel: fix prefetching wrong direction --- src/timelines/TimelinePanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timelines/TimelinePanel.tsx b/src/timelines/TimelinePanel.tsx index 5c3e150..332d693 100644 --- a/src/timelines/TimelinePanel.tsx +++ b/src/timelines/TimelinePanel.tsx @@ -39,7 +39,7 @@ const TimelinePanel: Component<{ const tlEndObserver = new IntersectionObserver(() => { if (untrack(() => props.prefetch) && !snapshot.loading) - refetchTimeline("next"); + refetchTimeline("prev"); }); onCleanup(() => tlEndObserver.disconnect());