1
0

chore: simplify obj

This commit is contained in:
Daniel Roe 2023-01-08 14:15:05 +00:00 committed by GitHub
parent 5d1b62e219
commit 42ca3a1967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>