From 8d077221a3eccf69c6c89af7559d8a7ba17b3c02 Mon Sep 17 00:00:00 2001 From: Jordan Shatford Date: Mon, 30 Oct 2023 20:08:06 +1100 Subject: [PATCH] fix(web): issue causing ci to fail Signed-off-by: Jordan Shatford --- apps/web/src/lib/components/ResultCard.svelte | 2 +- apps/web/src/lib/components/StateIcon.svelte | 2 +- apps/web/src/routes/downloads/+page.svelte | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/lib/components/ResultCard.svelte b/apps/web/src/lib/components/ResultCard.svelte index 2cadd329..f31f4557 100644 --- a/apps/web/src/lib/components/ResultCard.svelte +++ b/apps/web/src/lib/components/ResultCard.svelte @@ -47,7 +47,7 @@ class="h-8 w-8 p-1 text-black hover:text-brand-600 dark:text-white dark:hover:text-brand-600" /> {:else} - + {/if} diff --git a/apps/web/src/lib/components/StateIcon.svelte b/apps/web/src/lib/components/StateIcon.svelte index 5fc84e4d..70449d7f 100644 --- a/apps/web/src/lib/components/StateIcon.svelte +++ b/apps/web/src/lib/components/StateIcon.svelte @@ -8,7 +8,7 @@ type IconSource } from '@yd/ui'; - export let state: DownloadState; + export let state: DownloadState = DownloadState.ERROR; const lookup: Record = { [DownloadState.WAITING]: { diff --git a/apps/web/src/routes/downloads/+page.svelte b/apps/web/src/routes/downloads/+page.svelte index ae0ffab4..9be7d5a1 100644 --- a/apps/web/src/routes/downloads/+page.svelte +++ b/apps/web/src/routes/downloads/+page.svelte @@ -75,7 +75,7 @@ {:else if column.key === 'state'} {:else if column.key === 'actions'} - + {/if}