refactor: improve account info UI

This commit is contained in:
三咲智子 2022-11-23 21:59:29 +08:00
parent 8a43cfaca5
commit 5605d518dc
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
2 changed files with 3 additions and 2 deletions

View file

@ -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<string, Ref<Relationship | undefined> >()
const requestedRelationships = new Map<string, Ref<Relationship | undefined>>()
let timeoutHandle: NodeJS.Timeout | undefined
export function useRelationship(account: Account): Ref<Relationship | undefined> {