diff options
| author | Kit La Touche <kit@transneptune.net> | 2024-11-07 10:46:35 -0500 |
|---|---|---|
| committer | Kit La Touche <kit@transneptune.net> | 2024-11-07 10:46:35 -0500 |
| commit | 104f1115286834f71013e37617f12a78b3ce5210 (patch) | |
| tree | 5ea47ccc6811b293c848f86bd56452a6081948fa /ui/routes | |
| parent | b646a31d700a099236dcec47e2cc3db2b7f83105 (diff) | |
| parent | be6a2a94ffca6ffa2d007185d384d0bc06bda137 (diff) | |
Merge branch 'prop/better-run-splitting'
Diffstat (limited to 'ui/routes')
| -rw-r--r-- | ui/routes/(app)/ch/[channel]/+page.svelte | 4 |
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} /> |
