From d477c7270c90b190ed82b13f48f39a05d83503d2 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 21 Sep 2023 23:49:12 +0800 Subject: Fix #1394. --- FrontEnd/src/pages/timeline/Timeline.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FrontEnd/src/pages/timeline/Timeline.tsx') diff --git a/FrontEnd/src/pages/timeline/Timeline.tsx b/FrontEnd/src/pages/timeline/Timeline.tsx index e2ab5c71..69dfecea 100644 --- a/FrontEnd/src/pages/timeline/Timeline.tsx +++ b/FrontEnd/src/pages/timeline/Timeline.tsx @@ -115,7 +115,7 @@ export function Timeline(props: TimelineProps) { return () => { subscription.unsubscribe(); }; - }, [timelineOwner, timelineName]); + }, [timelineOwner, timelineName, reloadPosts]); useScrollToBottom(() => { console.log(`Load page ${currentPage + 1}.`); -- cgit v1.2.3