Editor
match history
{#each matches as match}
selectMatch(match.id)} class:selected={match.id === selectedMatchId} >
{formatMatchTimestamp(match.timestamp)}
{match["players"][1]["bot_name"]}
{/each}
{#if selectedMatchId}
{:else}
{/if}
{#if selectedMatchId}
{:else}
{/if}