mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-29 04:38:55 +03:00
Fix bugs with fetching followers/followings
This commit is contained in:
parent
641d274d7b
commit
aa3033b4ff
2 changed files with 2 additions and 2 deletions
|
@ -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