From 62d90d9a8f2eded680e713242c92d71d15b88dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 14 Aug 2022 19:01:44 +0200 Subject: [PATCH] Fetch accounttimeline when switching tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/features/account_timeline/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/account_timeline/index.tsx b/app/soapbox/features/account_timeline/index.tsx index 08ab715399..3ebe43d1df 100644 --- a/app/soapbox/features/account_timeline/index.tsx +++ b/app/soapbox/features/account_timeline/index.tsx @@ -65,7 +65,7 @@ const AccountTimeline: React.FC = ({ params, withReplies = fal if (account) { dispatch(expandAccountTimeline(account.id, { withReplies })); } - }, [account?.id]); + }, [account?.id, withReplies]); const handleLoadMore = (maxId: string) => { if (account) {