<script>
    import { channelsList } from '../store';
    import Channel from './Channel.svelte';

    let channels;

    channelsList.subscribe((value) => {
        channels = value.channels;
    });
</script>

<ul class="select-none">
    {#each channels as channel}
        <Channel {...channel} />
    {/each}
</ul>

<style>
</style>

