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