mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-22 13:49:23 +01:00
Fix disabled follow button
This commit is contained in:
parent
e102a9f925
commit
ad831fae35
1 changed files with 35 additions and 35 deletions
|
@ -583,8 +583,7 @@ function RelatedActions({ info, instance, authenticated, standalone }) {
|
|||
accountInfoStates.familiarFollowers =
|
||||
followers[0].accounts.slice(0, FAMILIAR_FOLLOWERS_LIMIT);
|
||||
|
||||
if (standalone) return;
|
||||
|
||||
if (!standalone) {
|
||||
const { value: statuses } = await fetchStatuses;
|
||||
console.log('fetched statuses', statuses);
|
||||
const stats = {
|
||||
|
@ -620,6 +619,7 @@ function RelatedActions({ info, instance, authenticated, standalone }) {
|
|||
|
||||
console.log('posting stats', stats);
|
||||
setPostingStats(stats);
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue