{#if aniListLoggedIn}
You are logged into AniList, {aniListWatchlist.data.Page.mediaList[0].user.name}!
{:else} {/if} {#if simklLoggedIn}
You are logged into Simkl, {simklUser.user.name}
{:else} {/if} {#if aniListLoggedIn}

Your Watching List

{#each aniListWatchlist.data.Page.mediaList as media}

{media.progress} / {media.media.nextAiringEpisode.episode !== 0 ? media.media.nextAiringEpisode.episode - 1 : media.media.episodes}

{#if media.media.episodes > 0}

Total Episodes: {media.media.episodes}

{/if}
{/each}
{/if}