refactor: switch to setup-sfc
This commit is contained in:
parent
6ca34cab85
commit
bbc8ed5307
10 changed files with 55 additions and 41 deletions
|
@ -11,7 +11,7 @@ const accountHandle = $(useAccountHandle(account))
|
|||
|
||||
<template>
|
||||
<NuxtLink :to="link ? getAccountPath(account) : undefined" flex gap-2 items-center>
|
||||
<ContentRich font-bold :content="getDisplayName(account)" :emojis="account.emojis" />
|
||||
<ContentRichSetup font-bold :content="getDisplayName(account)" :emojis="account.emojis" />
|
||||
<p op35 text-sm>
|
||||
{{ accountHandle }}
|
||||
</p>
|
||||
|
|
|
@ -9,6 +9,6 @@ const { translation } = useTranslation(status)
|
|||
|
||||
<template>
|
||||
<div class="status-body">
|
||||
<ContentRich :content="translation.visible ? translation.text : status.content" :emojis="status.emojis" />
|
||||
<ContentRichSetup :content="translation.visible ? translation.text : status.content" :emojis="status.emojis" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue