{#await following then res} {@const following = [...new Map(res?.data?.Page?.mediaList.map(item => [item.user.name, item])).values()]} {#if following?.length}

Following

{#each following as friend}
avatar {friend.user.name} {friend.status.toLowerCase()} IPC.emit('open', 'https://anilist.co/user/' + friend.user.name)}>
{/each}
{/if} {/await}