From ded5e5bf084ce424c05066ad9c6f418672345aac Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 6 Oct 2024 03:49:02 -0700
Subject: feat(badges): use preferences graphql api

---
 src/lib/User/BadgeWall/FallbackBadge.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(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 2f0bdabd..0e690443 100644
--- a/src/lib/User/BadgeWall/FallbackBadge.svelte
+++ b/src/lib/User/BadgeWall/FallbackBadge.svelte
@@ -7,7 +7,7 @@
 	import { databaseTimeToDate } from '../../Utility/time';
 	import { cubicOut } from 'svelte/easing';
 	import { dev } from '$app/environment';
-	import type { UserPreferences } from '$lib/Database/SB/User/preferences';
+	import type { Preferences } from '../../../graphql/$types';
 
 	export let source: string | null | undefined;
 	export let alternative: string | null | undefined;
@@ -21,7 +21,7 @@
 	export let selectedBadge: Badge | null = null;
 	export let awc = false;
 	export let index: number | null = null;
-	export let preferences: UserPreferences | undefined;
+	export let preferences: Preferences | undefined;
 
 	let replaceCount = 0;
 	let badgeReference: HTMLImageElement;
-- 
cgit v1.2.3

