chore: use attributify

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

View file

@ -11,7 +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 bg-base': !square }">
<div :key="account.avatar" v-bind="$attrs" :class="{ 'rounded-full bg-base': !square }" w-54px h-54px flex items-center justify-center>
<AccountAvatar :account="account" w-48px h-48px :square="square" />
</div>
</template>