Fetch accounttimeline when switching tabs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
bc25e9d0f4
commit
62d90d9a8f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue