refactor: getAccountHandle, getAccountPath, getStatusPath

This commit is contained in:
patak 2022-11-23 23:40:35 +01:00
parent 713617e19a
commit f596973603
8 changed files with 26 additions and 14 deletions

View file

@ -7,7 +7,7 @@ defineProps<{
</script>
<template>
<NuxtLink :to="`/@${account.acct}`">
<NuxtLink :to="getAccountPath(account)">
{{ getDisplayName(account) }}
</NuxtLink>
</template>