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
|
@ -21,6 +21,8 @@
|
|||
<script lang="ts" setup>
|
||||
import type { UserResponse } from '~/types/interfaces';
|
||||
|
||||
const { getDisplayName } = useProfile()
|
||||
|
||||
const props = defineProps<{
|
||||
user: UserResponse
|
||||
}>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue