mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-12 08:58:50 +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 =
|
accountInfoStates.familiarFollowers =
|
||||||
followers[0].accounts.slice(0, FAMILIAR_FOLLOWERS_LIMIT);
|
followers[0].accounts.slice(0, FAMILIAR_FOLLOWERS_LIMIT);
|
||||||
|
|
||||||
if (standalone) return;
|
if (!standalone) {
|
||||||
|
|
||||||
const { value: statuses } = await fetchStatuses;
|
const { value: statuses } = await fetchStatuses;
|
||||||
console.log('fetched statuses', statuses);
|
console.log('fetched statuses', statuses);
|
||||||
const stats = {
|
const stats = {
|
||||||
|
@ -620,6 +619,7 @@ function RelatedActions({ info, instance, authenticated, standalone }) {
|
||||||
|
|
||||||
console.log('posting stats', stats);
|
console.log('posting stats', stats);
|
||||||
setPostingStats(stats);
|
setPostingStats(stats);
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue