From 29f7136e93295e6fa37d423d2338a36ff3593f47 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 13 Dec 2023 18:59:10 -0800
Subject: style(Anime): simplify statements

---
 src/lib/List/Anime/CleanAnimeList.svelte | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src/lib/List/Anime/CleanAnimeList.svelte')

diff --git a/src/lib/List/Anime/CleanAnimeList.svelte b/src/lib/List/Anime/CleanAnimeList.svelte
index 0a49b7c0..c4d61a3c 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -84,9 +84,7 @@
 								updateMedia(anime.id, anime.mediaListEntry?.progress, () => {
 									const mediaListEntry = media.find((m) => m.id === anime.id)?.mediaListEntry;
 
-									if (mediaListEntry) {
-										mediaListEntry.progress = progress + 1;
-									}
+									if (mediaListEntry) mediaListEntry.progress = progress + 1;
 
 									previousAnimeList = media;
 									animeLists = cleanCache(user, identity);
-- 
cgit v1.2.3

