From d4300d8d83d34c0cbe7efe9f481b7a345ae6e2bf Mon Sep 17 00:00:00 2001 From: patak Date: Sat, 26 Nov 2022 17:42:53 +0100 Subject: [PATCH] fix: use full account handle, clean up --- components/account/AccountHoverCard.vue | 6 +++--- components/account/AccountInfo.vue | 2 -- components/status/StatusAccountDetails.vue | 6 +----- components/user/UserSwitcher.vue | 2 +- composables/masto.ts | 1 - 5 files changed, 5 insertions(+), 12 deletions(-) diff --git a/components/account/AccountHoverCard.vue b/components/account/AccountHoverCard.vue index fabba76f..149d13a6 100644 --- a/components/account/AccountHoverCard.vue +++ b/components/account/AccountHoverCard.vue @@ -10,15 +10,15 @@ defineProps<{
- + {{ formattedNumber(account.statusesCount) }} Posts - + {{ humanReadableNumber(account.followingCount) }} Following - + {{ humanReadableNumber(account.followersCount) }} Followers
diff --git a/components/account/AccountInfo.vue b/components/account/AccountInfo.vue index 49993e83..ff0167b7 100644 --- a/components/account/AccountInfo.vue +++ b/components/account/AccountInfo.vue @@ -7,8 +7,6 @@ const { account, link = true, fullServer = false } = defineProps<{ fullServer?: boolean hover?: boolean }>() - -const accountHandle = $(useAccountHandle(account, fullServer))