summaryrefslogtreecommitdiff
path: root/ui/lib/components/Channel.svelte
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-11-03 15:33:43 -0500
committerOwen Jacobson <owen@grimoire.ca>2024-11-03 15:33:43 -0500
commit30fa0c4c1faece6b054105fe3cce5107f24a2fa2 (patch)
tree6b66eec84a702103f368f6a5ba0e96736fc56fd6 /ui/lib/components/Channel.svelte
parentf2285a52822fbd1d82a24fe3b51c4343dc9e9ae6 (diff)
Svelte 5: go through and use runes in components, pages, and layouts.
Does not use runes in stores (yet).
Diffstat (limited to 'ui/lib/components/Channel.svelte')
-rw-r--r--ui/lib/components/Channel.svelte4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/lib/components/Channel.svelte b/ui/lib/components/Channel.svelte
index 3dc5c87..fdc5d56 100644
--- a/ui/lib/components/Channel.svelte
+++ b/ui/lib/components/Channel.svelte
@@ -1,7 +1,5 @@
<script>
- export let id;
- export let name;
- export let active = false;
+ let { id, name, active } = $props();
</script>
<li class="rounded-full" class:bg-slate-400={active}>