From 215b0c5cb2ff0ef0b2c7b5549704e23d651a4df9 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Thu, 10 Oct 2024 21:51:10 -0400
Subject: Hoist the UI one step up further

---
 ui/src/lib/components/Channel.svelte | 21 ---------------------
 1 file changed, 21 deletions(-)
 delete mode 100644 ui/src/lib/components/Channel.svelte

(limited to 'ui/src/lib/components/Channel.svelte')

diff --git a/ui/src/lib/components/Channel.svelte b/ui/src/lib/components/Channel.svelte
deleted file mode 100644
index 97fea1f..0000000
--- a/ui/src/lib/components/Channel.svelte
+++ /dev/null
@@ -1,21 +0,0 @@
-<script>
-    import { activeChannel } from '$lib/store';
-
-    export let id;
-    export let name;
-    let active = false;
-
-    activeChannel.subscribe((value) => {
-        active = value.is(id);
-    });
-</script>
-
-<li
-    class="rounded-full"
-    class:bg-slate-400={active}
->
-<a href="/ch/{id}">
-    <span class="badge bg-primary-500">#</span>
-    <span class="flex-auto">{name}</span>
-</a>
-</li>
-- 
cgit v1.2.3

