{ if (state === false) { onClose(); } }} >
{#each devices as device} {/each}