chore: simplify obj
This commit is contained in:
parent
5d1b62e219
commit
42ca3a1967
@ -11,9 +11,7 @@ defineProps<{
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
:key="account.avatar" v-bind="$attrs" class="w-54px h-54px flex items-center justify-center" :class="{ 'rounded-full': !square, 'bg-base': !square }"
|
||||
>
|
||||
<div :key="account.avatar" v-bind="$attrs" class="w-54px h-54px flex items-center justify-center" :class="{ 'rounded-full bg-base': !square }">
|
||||
<AccountAvatar :account="account" w-48px h-48px :square="square" />
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user