elk/components/account/AccountLink.vue
2022-11-23 22:39:52 +08:00

14 lines
222 B
Vue

<script setup lang="ts">
import type { Account } from 'masto'
defineProps<{
account: Account
}>()
</script>
<template>
<NuxtLink :to="`/@${account.acct}`">
{{ getDisplayName(account) }}
</NuxtLink>
</template>