1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-25 07:36:19 +09:00
elk/components/account/AccountLink.vue

14 lines
222 B
Vue
Raw Normal View History

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