{#await request}

Loading...

{:then data} {@const topFiveData = data.slice(0, 5)}
{#each (topFive ? topFiveData : data) as player, i (player.name)} {/each}
{t("elo.place")} {t("elo.name")} {t("elo.elo")}
{`${i + 1}.`} {player.name} {player.elo}
{:catch error}

{error.message}

{/await}