aboutsummaryrefslogtreecommitdiff
path: root/src/routes/+layout.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/+layout.svelte')
-rw-r--r--src/routes/+layout.svelte6
1 files changed, 5 insertions, 1 deletions
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')) {