summaryrefslogtreecommitdiff
path: root/ui/lib/components/ChannelList.svelte
diff options
context:
space:
mode:
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>