summaryrefslogtreecommitdiff
path: root/ui/routes
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-11-07 10:52:16 -0500
committerKit La Touche <kit@transneptune.net>2024-11-07 10:52:16 -0500
commitf31b4d8188ac7e38b6c42380649691c0e8e1e097 (patch)
tree62644664fdce6f10243ad9581b47bac547b53dd3 /ui/routes
parent8751155e24f020802d1c387af19318edceaa39d2 (diff)
parent104f1115286834f71013e37617f12a78b3ce5210 (diff)
Merge branch 'main' into wip/pwa
Diffstat (limited to 'ui/routes')
-rw-r--r--ui/routes/(app)/ch/[channel]/+page.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/routes/(app)/ch/[channel]/+page.svelte b/ui/routes/(app)/ch/[channel]/+page.svelte
index 49c1c29..0961665 100644
--- a/ui/routes/(app)/ch/[channel]/+page.svelte
+++ b/ui/routes/(app)/ch/[channel]/+page.svelte
@@ -2,12 +2,14 @@
import { page } from '$app/stores';
import ActiveChannel from '$lib/components/ActiveChannel.svelte';
import MessageInput from '$lib/components/MessageInput.svelte';
+ import { messages } from '$lib/store';
let channel = $derived($page.params.channel);
+ let messageRuns = $derived($messages.inChannel(channel));
</script>
<div class="active-channel">
- <ActiveChannel {channel} />
+ <ActiveChannel {messageRuns} />
</div>
<div class="create-message max-h-full">
<MessageInput {channel} />