{#if data.length > 0} {#each data as match} {#if match?.players[0]?.username && match?.players[1]?.username} {/if} {/each}
{username}'s last matchs
Date Players Scores
{match.date}{match.players[0].username}
{match.players[1] .username}
{match.score[0]}
{match.score[1]}
{:else}

No matches to display

{/if}
0} threshold={10} on:loadMore={fetchData} />