From b6390598339b6e194188e5cfa6a44587f6dd5686 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 3 Dec 2023 20:49:03 -0800
Subject: style(birthdays): sugar

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

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

diff --git a/src/lib/Tools/CharacterBirthdays.svelte b/src/lib/Tools/CharacterBirthdays.svelte
index 160b6494..f3112fa6 100644
--- a/src/lib/Tools/CharacterBirthdays.svelte
+++ b/src/lib/Tools/CharacterBirthdays.svelte
@@ -39,14 +39,12 @@
 		}
 	}
 
-	function normalizeName(name: string): string {
-		return name.toLowerCase().split(' ').sort().join(' ');
-	}
+	const normalizeName = (name: string): string => name.toLowerCase().split(' ').sort().join(' ');
 
-	function combineBirthdaySources(
+	const combineBirthdaySources = (
 		acdb: ACDBBirthday[],
 		aniSearch: aniSearchBirthday[]
-	): Birthday[] {
+	): Birthday[] => {
 		const nameMap = new Map<string, Birthday>();
 
 		for (const entry of aniSearch.map((entry) => ({
@@ -71,7 +69,7 @@
 		}
 
 		return Array.from(nameMap.values());
-	}
+	};
 </script>
 
 {#await acdbBirthdays}
-- 
cgit v1.2.3

