{#if leaderboard.length > 0}
{#each leaderboard as entry}
onEntryClick(entry)}>
{entry.rank}
{entry.name}
Score:
{entry.score}
Votes:
{entry.votes}
{/each}
{:else}
Loading...
{/if}