From 5605d518dca3d8fdb39c3eedc0fd12f7eb85e4e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Wed, 23 Nov 2022 21:59:29 +0800 Subject: [PATCH] refactor: improve account info UI --- composables/masto.ts | 2 +- layouts/default.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composables/masto.ts b/composables/masto.ts index b8fb2032..3f08466e 100644 --- a/composables/masto.ts +++ b/composables/masto.ts @@ -9,7 +9,7 @@ export function getDisplayName(account: Account) { // We don't want to hold to old values, so every time a Relationship is needed it // is requested again from the server to show the latest state -const requestedRelationships = new Map >() +const requestedRelationships = new Map>() let timeoutHandle: NodeJS.Timeout | undefined export function useRelationship(account: Account): Ref { diff --git a/layouts/default.vue b/layouts/default.vue index 64a1a74a..e074f9cd 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -11,7 +11,8 @@