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

CURRENT DEVICE

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

OTHER DEVICES

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

LOG OUT ALL DEVICES

{/if}