Fix bugs with fetching followers/followings
This commit is contained in:
parent
641d274d7b
commit
aa3033b4ff
|
@ -144,7 +144,7 @@ function AccountInfo({
|
|||
),
|
||||
),
|
||||
];
|
||||
} else {
|
||||
} else if (value?.length) {
|
||||
newValue = value.filter(
|
||||
(account) =>
|
||||
!familiarFollowersCache.current.some(
|
||||
|
|
|
@ -29,7 +29,7 @@ export default function GenericAccounts({ onClose = () => {} }) {
|
|||
|
||||
const loadAccounts = (firstLoad) => {
|
||||
if (!fetchAccounts) return;
|
||||
setAccounts([]);
|
||||
if (firstLoad) setAccounts([]);
|
||||
setUIState('loading');
|
||||
(async () => {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue