Skip to content

Commit

Permalink
TODO: Update developers
Browse files Browse the repository at this point in the history
  • Loading branch information
ddxv committed Oct 26, 2023
1 parent 1edfbf6 commit c6dbd1d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/routes/developers/[developer]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import type { AppGroup } from '../../../types';
import type { DeveloperResponse } from '../../../types';
/** @type {import('../[developer]/$types').PageData} */
export let data: AppGroup;
export let data: DeveloperResponse;
import AppsCard from '$lib/AppGroupCard.svelte';
</script>

Expand All @@ -13,9 +13,9 @@
<span>Loading...</span>
</div>
{:then data}
{#if data.apps}
<h1 class="h1 p-2">Apps: {data.title}</h1>
<AppsCard apps={data} />
{#if data.results}
<h1 class="h1 p-2">Apps: {data.results.title}</h1>
<AppsCard apps={data.results} />
<p class="p-2" />
{/if}
{:catch error}
Expand Down

0 comments on commit c6dbd1d

Please sign in to comment.