elk/components/account/AccountLink.vue

14 lines
226 B
Vue

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