diff --git a/components/Guild/GuildNavbar.vue b/components/Guild/GuildNavbar.vue index da5212e..127057f 100644 --- a/components/Guild/GuildNavbar.vue +++ b/components/Guild/GuildNavbar.vue @@ -1,6 +1,20 @@ @@ -12,77 +26,54 @@ const props = defineProps(); \ No newline at end of file diff --git a/components/MessageArea.vue b/components/MessageArea.vue index 26645cd..c3367b7 100644 --- a/components/MessageArea.vue +++ b/components/MessageArea.vue @@ -47,6 +47,8 @@ import { generateIrcColor } from '#imports'; const { getDisplayName } = useProfile() const { fetchMe } = useApi() +// TODO this file is a mess, and we need to stop using fetchWithApi + const props = defineProps<{ channelUrl: string, amount?: number, offset?: number }>(); const me = await fetchMe() as UserResponse; diff --git a/pages/servers/[serverId]/channels/[channelId].vue b/pages/servers/[serverId]/channels/[channelId].vue index 74466b9..b6ed93f 100644 --- a/pages/servers/[serverId]/channels/[channelId].vue +++ b/pages/servers/[serverId]/channels/[channelId].vue @@ -3,8 +3,9 @@
+ v-if="guild && channel" + :guild="guild" + :channel="channel"/>
@@ -15,14 +16,17 @@