style: move profile functions into a composable
This commit is contained in:
parent
e44c7d0c2e
commit
1ac3042470
20 changed files with 112 additions and 89 deletions
|
@ -24,6 +24,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
||||
const { getDisplayName } = useProfile()
|
||||
const { fetchFriends } = useApi();
|
||||
|
||||
const friends = sortUsers(await fetchFriends())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue