refactor: improve UI & types

This commit is contained in:
三咲智子 2022-11-24 23:48:52 +08:00
parent 86c29776a1
commit 2ab3d5dbe7
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
9 changed files with 18 additions and 15 deletions

View file

@ -5,7 +5,7 @@ const { account } = defineProps<{
account: Account
}>()
const isSelf = $computed(() => currentUser.value?.account?.id === account.id)
const isSelf = $computed(() => currentUser.value?.account.id === account.id)
const relationship = $(useRelationship(account))
async function toggleFollow() {