Fix bugs with fetching followers/followings

This commit is contained in:
Lim Chee Aun 2023-09-12 19:20:22 +08:00
parent 641d274d7b
commit aa3033b4ff
2 changed files with 2 additions and 2 deletions

View file

@ -144,7 +144,7 @@ function AccountInfo({
),
),
];
} else {
} else if (value?.length) {
newValue = value.filter(
(account) =>
!familiarFollowersCache.current.some(

View file

@ -29,7 +29,7 @@ export default function GenericAccounts({ onClose = () => {} }) {
const loadAccounts = (firstLoad) => {
if (!fetchAccounts) return;
setAccounts([]);
if (firstLoad) setAccounts([]);
setUIState('loading');
(async () => {
try {