From 30fa0c4c1faece6b054105fe3cce5107f24a2fa2 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Sun, 3 Nov 2024 15:33:43 -0500
Subject: Svelte 5: go through and use runes in components, pages, and layouts.

Does not use runes in stores (yet).
---
 ui/lib/components/ChannelList.svelte | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'ui/lib/components/ChannelList.svelte')

diff --git a/ui/lib/components/ChannelList.svelte b/ui/lib/components/ChannelList.svelte
index f7376c1..9d1227e 100644
--- a/ui/lib/components/ChannelList.svelte
+++ b/ui/lib/components/ChannelList.svelte
@@ -1,10 +1,7 @@
 <script>
-	import { channelsList } from '$lib/store';
 	import Channel from './Channel.svelte';
 
-	export let active = null;
-
-	$: channels = $channelsList.channels;
+	let { channels, active } = $props();
 </script>
 
 <nav class="list-nav">
-- 
cgit v1.2.3

