style: move profile functions into a composable
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful

This commit is contained in:
Twig 2025-07-19 17:19:14 +02:00
parent e44c7d0c2e
commit 1ac3042470
No known key found for this signature in database
20 changed files with 112 additions and 89 deletions

View file

@ -24,6 +24,8 @@
</template>
<script lang="ts" setup>
const { getDisplayName } = useProfile()
const { fetchFriends } = useApi();
const friends = sortUsers(await fetchFriends())