From a482df809a0eea955f9e50240286c9db0e55bac0 Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Sat, 7 Jan 2023 16:33:00 -0800 Subject: [PATCH] Format details buttons. --- src/routes/game/[id]/+page.svelte | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/routes/game/[id]/+page.svelte b/src/routes/game/[id]/+page.svelte index c870702..a62cc41 100644 --- a/src/routes/game/[id]/+page.svelte +++ b/src/routes/game/[id]/+page.svelte @@ -37,7 +37,7 @@ firstParagraphEnd = game?.description?.indexOf('') + 5; } - function remoceFromCollection() { + function removeFromCollection() { boredState.update((n) => ({ ...n, dialog: { isOpen: true, content: RemoveCollectionDialog, additionalData: game } @@ -65,7 +65,7 @@ -
+
{#if game?.year_published}

Year: {game?.year_published}

@@ -88,9 +88,9 @@

-
+
{#if existsInCollection} - {:else} @@ -108,8 +108,6 @@ Add to collection {/if} -
-
{#if existsInWishlist}