From 60535f8af6054823660009bd66bd8693658becb7 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 30 Dec 2023 21:34:38 -0800
Subject: fix(wrapped): score position highest rated

---
 src/lib/Tools/Wrapped.svelte | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'src/lib/Tools/Wrapped.svelte')

diff --git a/src/lib/Tools/Wrapped.svelte b/src/lib/Tools/Wrapped.svelte
index fdaaf4b7..5b87af7c 100644
--- a/src/lib/Tools/Wrapped.svelte
+++ b/src/lib/Tools/Wrapped.svelte
@@ -583,8 +583,9 @@
 													<li>
 														<a href={`https://anilist.co/anime/${anime.id}`} target="_blank">
 															<MediaTitleDisplay title={anime.title} />
-														</a>
-														{highestRatedMediaPercentage ? `: ${anime.mediaListEntry?.score}%` : ''}
+														</a>{highestRatedMediaPercentage
+															? `: ${anime.mediaListEntry?.score}%`
+															: ''}
 													</li>
 												{/each}
 											</ol>
@@ -610,8 +611,9 @@
 													<li>
 														<a href={`https://anilist.co/manga/${manga.id}`} target="_blank">
 															<MediaTitleDisplay title={manga.title} />
-														</a>
-														{highestRatedMediaPercentage ? `: ${manga.mediaListEntry?.score}%` : ''}
+														</a>{highestRatedMediaPercentage
+															? `: ${manga.mediaListEntry?.score}%`
+															: ''}
 													</li>
 												{/each}
 											</ol>
-- 
cgit v1.2.3

