elk/components/account/AccountLink.vue

14 lines
226 B
Vue
Raw Normal View History

2022-11-23 14:39:48 +00:00
<script setup lang="ts">
import type { Account } from 'masto'
defineProps<{
account: Account
}>()
</script>
<template>
<NuxtLink :to="getAccountPath(account)">
2022-11-23 14:39:48 +00:00
{{ getDisplayName(account) }}
</NuxtLink>
</template>