From 42adaf459591fd397350dd75514ab27bcdfcd479 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 20 May 2024 23:58:03 -0700
Subject: fix(Badges): preferences null checks

---
 src/lib/User/BadgeWall/FallbackBadge.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/User/BadgeWall/FallbackBadge.svelte')

diff --git a/src/lib/User/BadgeWall/FallbackBadge.svelte b/src/lib/User/BadgeWall/FallbackBadge.svelte
index ffa2dc3d..083869d7 100644
--- a/src/lib/User/BadgeWall/FallbackBadge.svelte
+++ b/src/lib/User/BadgeWall/FallbackBadge.svelte
@@ -21,7 +21,7 @@
 	export let selectedBadge: Badge | null = null;
 	export let awc = false;
 	export let index: number | null = null;
-	export let preferences: UserPreferences;
+	export let preferences: UserPreferences | undefined;
 
 	let replaceCount = 0;
 	let badgeReference: HTMLImageElement;
-- 
cgit v1.2.3

