- {{ getDisplayName(props.user) }} + {{ props.user.display_name }}
{{ props.user.username }}
@@ -21,6 +22,8 @@
-
-
\ No newline at end of file
diff --git a/composables/api.ts b/composables/api.ts
index 75a3811..0b438a6 100644
--- a/composables/api.ts
+++ b/composables/api.ts
@@ -1,36 +1,24 @@
import type { ChannelResponse, GuildMemberResponse, GuildResponse, MessageResponse, StatsResponse, UserResponse } from "~/types/interfaces";
-function ensureIsArray(list: any) {
- if (Array.isArray(list)) {
- return list
- } else {
- return []
- }
-}
-
export const useApi = () => {
- async function fetchGuilds(): Promise