From ce2230a67a72b9850b37576cb441a56ff3b71ee8 Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Sat, 19 Mar 2022 22:52:20 -0500
Subject: Add favicon + misc fixes

---
 src/routes/profile/index.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/routes/profile/index.svelte')

diff --git a/src/routes/profile/index.svelte b/src/routes/profile/index.svelte
index a69afc5..477d359 100644
--- a/src/routes/profile/index.svelte
+++ b/src/routes/profile/index.svelte
@@ -34,7 +34,7 @@
 		}
 
 		const isDonator =
-			donators.find(d => d.uuid === sessionResponse.account?.minecraftUuid) !== undefined
+			donators.find(d => d?.uuid === sessionResponse.account?.minecraftUuid) !== undefined
 		const isAdmin = admins.find(a => a === sessionResponse.account?.minecraftUuid) !== undefined
 
 		return {
-- 
cgit 

