Merge branch 'account-timeline' into 'develop'
Fetch account timeline when switching tabs See merge request soapbox-pub/soapbox-fe!1735
This commit is contained in:
commit
f0eb5ea050
|
@ -65,7 +65,7 @@ const AccountTimeline: React.FC<IAccountTimeline> = ({ params, withReplies = fal
|
||||||
if (account) {
|
if (account) {
|
||||||
dispatch(expandAccountTimeline(account.id, { withReplies }));
|
dispatch(expandAccountTimeline(account.id, { withReplies }));
|
||||||
}
|
}
|
||||||
}, [account?.id]);
|
}, [account?.id, withReplies]);
|
||||||
|
|
||||||
const handleLoadMore = (maxId: string) => {
|
const handleLoadMore = (maxId: string) => {
|
||||||
if (account) {
|
if (account) {
|
||||||
|
|
Loading…
Reference in New Issue