summaryrefslogtreecommitdiff
path: root/ui/lib/components/ChannelList.svelte
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-11-02 20:02:24 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-11-02 20:02:24 -0400
commit22ce0549e20ee397cf5953bd6b7aafc752deaa28 (patch)
tree59e116cd0a198de04a2dbd3bbb632ec3dee6fed5 /ui/lib/components/ChannelList.svelte
parent0e14a3b7e365c05992848cfbc4b8d7d9681d6d04 (diff)
Run prettier, make lint part of pre-commit
Diffstat (limited to 'ui/lib/components/ChannelList.svelte')
-rw-r--r--ui/lib/components/ChannelList.svelte18
1 files changed, 9 insertions, 9 deletions
diff --git a/ui/lib/components/ChannelList.svelte b/ui/lib/components/ChannelList.svelte
index 316e404..f7376c1 100644
--- a/ui/lib/components/ChannelList.svelte
+++ b/ui/lib/components/ChannelList.svelte
@@ -1,16 +1,16 @@
<script>
- import { channelsList } from '$lib/store';
- import Channel from './Channel.svelte';
+ import { channelsList } from '$lib/store';
+ import Channel from './Channel.svelte';
- export let active = null;
+ export let active = null;
- $: channels = $channelsList.channels;
+ $: channels = $channelsList.channels;
</script>
<nav class="list-nav">
- <ul>
- {#each channels as channel}
- <Channel {...channel} active={active === channel.id} />
- {/each}
- </ul>
+ <ul>
+ {#each channels as channel}
+ <Channel {...channel} active={active === channel.id} />
+ {/each}
+ </ul>
</nav>