summaryrefslogtreecommitdiff
path: root/ui/routes/(app)/ch
diff options
context:
space:
mode:
Diffstat (limited to 'ui/routes/(app)/ch')
-rw-r--r--ui/routes/(app)/ch/[channel]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/routes/(app)/ch/[channel]/+page.svelte b/ui/routes/(app)/ch/[channel]/+page.svelte
index 2c1b40a..a5836fc 100644
--- a/ui/routes/(app)/ch/[channel]/+page.svelte
+++ b/ui/routes/(app)/ch/[channel]/+page.svelte
@@ -3,7 +3,7 @@
import ActiveChannel from '$lib/components/ActiveChannel.svelte';
import MessageInput from '$lib/components/MessageInput.svelte';
- $: channel = $page?.params?.channel;
+ let channel = $derived($page.params.channel);
</script>
<div class="active-channel">