From 2471974d79595179f3d8307adaac6c26a1548af1 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 13 Dec 2023 18:57:43 -0800
Subject: style(Tools): simplify statements

---
 src/lib/Tools/SequelSpy.svelte | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

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

diff --git a/src/lib/Tools/SequelSpy.svelte b/src/lib/Tools/SequelSpy.svelte
index 1d1fca69..441585a4 100644
--- a/src/lib/Tools/SequelSpy.svelte
+++ b/src/lib/Tools/SequelSpy.svelte
@@ -10,17 +10,15 @@
 	let currentPrequels: Promise<MediaPrequel[]> = Promise.resolve([]) as Promise<MediaPrequel[]>;
 	let year = new Date().getFullYear();
 	let season = (() => {
-		if (new Date().getMonth() >= 0 && new Date().getMonth() <= 2) {
+		if (new Date().getMonth() >= 0 && new Date().getMonth() <= 2)
 			return 'WINTER' as 'WINTER' | 'SPRING' | 'SUMMER' | 'FALL';
-		} else if (new Date().getMonth() >= 3 && new Date().getMonth() <= 5) {
+		else if (new Date().getMonth() >= 3 && new Date().getMonth() <= 5)
 			return 'SPRING' as 'WINTER' | 'SPRING' | 'SUMMER' | 'FALL';
-		} else if (new Date().getMonth() >= 6 && new Date().getMonth() <= 8) {
+		else if (new Date().getMonth() >= 6 && new Date().getMonth() <= 8)
 			return 'SUMMER' as 'WINTER' | 'SPRING' | 'SUMMER' | 'FALL';
-		} else if (new Date().getMonth() >= 9 && new Date().getMonth() <= 11) {
+		else if (new Date().getMonth() >= 9 && new Date().getMonth() <= 11)
 			return 'FALL' as 'WINTER' | 'SPRING' | 'SUMMER' | 'FALL';
-		} else {
-			return 'WINTER' as 'WINTER' | 'SPRING' | 'SUMMER' | 'FALL';
-		}
+		else return 'WINTER' as 'WINTER' | 'SPRING' | 'SUMMER' | 'FALL';
 	})();
 
 	$: currentPrequels = prequels(user, year, season);
-- 
cgit v1.2.3

