Fetch accounttimeline when switching tabs

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-08-14 19:01:44 +02:00
parent bc25e9d0f4
commit 62d90d9a8f
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ const AccountTimeline: React.FC<IAccountTimeline> = ({ params, withReplies = fal
if (account) {
dispatch(expandAccountTimeline(account.id, { withReplies }));
}
}, [account?.id]);
}, [account?.id, withReplies]);
const handleLoadMore = (maxId: string) => {
if (account) {