From c07f82899c888cb3288b11125aa60bd710683fe7 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 18 Oct 2023 05:57:23 +0100 Subject: [PATCH] fix avatars not loading if the player doesn't have a avatar --- src/components/Common/Avatar.svelte | 16 ++++++++++++---- src/components/Player/Avatar.svelte | 6 ++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/components/Common/Avatar.svelte b/src/components/Common/Avatar.svelte index 23664cb..b1da8a4 100644 --- a/src/components/Common/Avatar.svelte +++ b/src/components/Common/Avatar.svelte @@ -1,14 +1,22 @@ -{#if avatar} +{#if avatarr}
- +
{/if} diff --git a/src/components/Player/Avatar.svelte b/src/components/Player/Avatar.svelte index f5c8001..df7d18a 100644 --- a/src/components/Player/Avatar.svelte +++ b/src/components/Player/Avatar.svelte @@ -1,5 +1,6 @@