refactor: switch to setup-sfc

This commit is contained in:
三咲智子 2022-11-25 15:12:49 +08:00
parent 6ca34cab85
commit bbc8ed5307
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
10 changed files with 55 additions and 41 deletions

View file

@ -10,6 +10,6 @@ const { link = true } = defineProps<{
<template>
<NuxtLink :to="link ? getAccountPath(account) : undefined" flex gap-1 items-center>
<AccountAvatar :account="account" w-5 h-5 />
<ContentRich :content="getDisplayName(account)" :emojis="account.emojis" />
<ContentRichSetup :content="getDisplayName(account)" :emojis="account.emojis" />
</NuxtLink>
</template>