diff --git a/components/Avatar.vue b/components/Avatar.vue index 5f16251..23aae79 100644 --- a/components/Avatar.vue +++ b/components/Avatar.vue @@ -12,6 +12,8 @@ import { NuxtImg } from '#components'; import type { GuildMemberResponse, UserResponse } from '~/types/interfaces'; +const { getDisplayName } = useProfile() + const props = defineProps<{ profile: UserResponse | GuildMemberResponse, }>(); diff --git a/components/Guild/MemberEntry.vue b/components/Guild/MemberEntry.vue index 0c82d61..d9ce4f6 100644 --- a/components/Guild/MemberEntry.vue +++ b/components/Guild/MemberEntry.vue @@ -11,6 +11,8 @@ import { ModalProfilePopup } from '#components'; import type { GuildMemberResponse } from '~/types/interfaces'; +const { getDisplayName } = useProfile() + const props = defineProps<{ member: GuildMemberResponse }>(); diff --git a/components/Me/FriendsList.vue b/components/Me/FriendsList.vue index 0a1481e..25b9924 100644 --- a/components/Me/FriendsList.vue +++ b/components/Me/FriendsList.vue @@ -24,6 +24,8 @@