{#if deleteDevice} handleDelete()} onClose={() => (deleteDevice = null)} /> {/if} {#if deleteAll} handleDeleteAll()} onClose={() => (deleteAll = false)} /> {/if}
{#if currentDevice}

CURRENT DEVICE

{/if} {#if otherDevices.length > 0}

OTHER DEVICES

{#each otherDevices as device, index} (deleteDevice = device)} /> {#if index !== otherDevices.length - 1}
{/if} {/each}

LOG OUT ALL DEVICES

{/if}