aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/lib/components/matches/BotMatchList.svelte
blob: 959cd0754ca00d8f0e170a36fcc4b5e5e0434b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<script lang="ts">
  import type { BotMatch } from "$lib/matches";
  import BotMatchCard from "./BotMatchCard.svelte";

  export let botMatches: BotMatch[];

  function match_url(match: object) {
    return `/matches/${match["id"]}`;
  }
</script>

<div>
  {#each botMatches as botMatch}
    <BotMatchCard {botMatch} />
  {/each}
</div>

<style lang="scss">
</style>