From 7a818add682561f09c4f5ce0729a9f3c0700871e Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 5 Jan 2024 21:07:19 -0800
Subject: fix: default avatar

---
 src/routes/+layout.svelte | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/routes/+layout.svelte')

diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index e9d4318f..c15bea92 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -10,7 +10,11 @@
 
 	export let data;
 
-	let currentUserIdentity = { name: '...', id: -1, avatar: '' };
+	let currentUserIdentity = {
+		name: '...',
+		id: -1,
+		avatar: 'https://s4.anilist.co/file/anilistcdn/user/avatar/large/default.png'
+	};
 
 	onMount(async () => {
 		if (browser && localStorage.getItem('redirect')) {
-- 
cgit v1.2.3

