<script>
    import { activeChannel } from '../store';

    let channelName;

    activeChannel.subscribe((value) => {
        channelName = value ? value.name : 'none';
    });
</script>

<div>
    Active channel: {channelName}
</div>

<style>
</style>
