2024-03-30 01:15:12 -04:00
|
|
|
<script lang="ts">
|
|
|
|
|
import type { PageServerData } from './$types'
|
|
|
|
|
|
|
|
|
|
export let data: PageServerData
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
{#if data.searchResults}
|
2024-04-09 00:10:23 -04:00
|
|
|
{#await data.searchResults then searchResults}
|
|
|
|
|
{#each searchResults as searchResult}
|
|
|
|
|
<div>{searchResult.name} - {searchResult.type}</div>
|
|
|
|
|
{/each}
|
|
|
|
|
{/await}
|
2024-03-30 01:15:12 -04:00
|
|
|
{/if}
|