refactor: extract check self account
This commit is contained in:
parent
b6c916517c
commit
11fc2572d5
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ const { account } = defineProps<{
|
|||
}>()
|
||||
let relationship = $(useRelationship(account))
|
||||
|
||||
const isSelf = $computed(() => currentUser.value?.account.id === account.id)
|
||||
const isSelf = $(useSelfAccount(() => account))
|
||||
|
||||
const masto = useMasto()
|
||||
const toggleMute = async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue