elk/components/account/AccountLink.vue

14 lines
222 B
Vue
Raw Normal View History

2022-11-23 15:39:48 +01:00
<script setup lang="ts">
import type { Account } from 'masto'
defineProps<{
account: Account
}>()
</script>
<template>
<NuxtLink :to="`/@${account.acct}`">
{{ getDisplayName(account) }}
</NuxtLink>
</template>