From a70316e64bcc9bad7fb626056f9cc58d1858dff9 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 21 Jan 2025 23:26:32 -0800 Subject: notes --- src/components/Avatar.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/Avatar.svelte') diff --git a/src/components/Avatar.svelte b/src/components/Avatar.svelte index f37f3e14..09b6c037 100644 --- a/src/components/Avatar.svelte +++ b/src/components/Avatar.svelte @@ -18,7 +18,7 @@ user?.profile ? `${base}/${user.profile}.webp` : user?.picture, ); let fallback = $derived( - `${base}/punks/` + punk(user.pubkey || user?.id || "aa"), + `${base}/punks/` + punk(user?.pubkey || user?.id || "aa"), ); let tmp = $derived($avatar?.id && $avatar.id === user?.id && $avatar.src); let src = $derived(tmp || profile || fallback); @@ -31,7 +31,7 @@ {user.username} {/snippet} -- cgit v1.2.3