diff --git a/composables/api.ts b/composables/api.ts index 11c2226..0cd6db0 100644 --- a/composables/api.ts +++ b/composables/api.ts @@ -38,11 +38,11 @@ export const useApi = () => { } async function addFriend(username: string): Promise { - return await fetchWithApi('/me/friends', { method: "POST", body: { username } }); + await fetchWithApi('/me/friends', { method: "POST", body: { username } }); } async function removeFriend(userId: string): Promise { - return await fetchWithApi(`/me/friends/${userId}`, { method: "DELETE" }); + await fetchWithApi(`/me/friends/${userId}`, { method: "DELETE" }); } async function fetchMessages(channelId: string, options?: { amount?: number, offset?: number }): Promise { diff --git a/pages/settings.vue b/pages/settings.vue index 8b270bc..05eb5d7 100644 --- a/pages/settings.vue +++ b/pages/settings.vue @@ -17,13 +17,13 @@ :class="{ 'sidebar-focus': selectedPage === page.displayName }"> {{ page.displayName }} - +

- +