setViewMode(ViewMode.Editor)} > Code
match history
{#each $matchHistory as match}
selectMatch(match.id)} class:selected={match.id === selectedMatchId} >
{formatMatchTimestamp(match.timestamp)}
{match["players"][1]["bot_name"]}
{/each}
{#if viewMode === ViewMode.MatchVisualizer}
{:else if viewMode === ViewMode.Editor}
{/if}
{#if viewMode === ViewMode.MatchVisualizer}
{:else if viewMode === ViewMode.Editor}
{/if}