From 22ce0549e20ee397cf5953bd6b7aafc752deaa28 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Sat, 2 Nov 2024 20:02:24 -0400
Subject: Run prettier, make lint part of pre-commit

---
 ui/lib/components/Channel.svelte | 27 ++++++++++++---------------
 1 file changed, 12 insertions(+), 15 deletions(-)

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

diff --git a/ui/lib/components/Channel.svelte b/ui/lib/components/Channel.svelte
index bbe9ff7..60c9092 100644
--- a/ui/lib/components/Channel.svelte
+++ b/ui/lib/components/Channel.svelte
@@ -1,21 +1,18 @@
 <script>
-    import { showMenu } from '$lib/store';
+	import { showMenu } from '$lib/store';
 
-    export let id;
-    export let name;
-    export let active = false;
+	export let id;
+	export let name;
+	export let active = false;
 
-    function hideMenu() {
-        showMenu.update(() => false);
-    }
+	function hideMenu() {
+		showMenu.update(() => false);
+	}
 </script>
 
-<li
-    class="rounded-full"
-    class:bg-slate-400={active}
->
-<a href="/ch/{id}" on:click={hideMenu}>
-    <span class="badge bg-primary-500">#</span>
-    <span class="flex-auto">{name}</span>
-</a>
+<li class="rounded-full" class:bg-slate-400={active}>
+	<a href="/ch/{id}" on:click={hideMenu}>
+		<span class="badge bg-primary-500">#</span>
+		<span class="flex-auto">{name}</span>
+	</a>
 </li>
-- 
cgit v1.2.3

