diff options
| author | Adam Soltys <[email protected]> | 2024-08-20 09:50:42 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-08-20 09:50:42 -0700 |
| commit | 7064846be383ae352329377f21304d0cfdc5040c (patch) | |
| tree | 091c308eeaf69a4a4aafdbc83b183e19f52c26a3 /src/components | |
| parent | aec0d4a219d26bc7d09b149ca45ef5f723f929a4 (diff) | |
| download | coinos-ui-7064846be383ae352329377f21304d0cfdc5040c.tar.gz coinos-ui-7064846be383ae352329377f21304d0cfdc5040c.zip | |
use id's for cash links
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Avatar.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Avatar.svelte b/src/components/Avatar.svelte index 227200d7..4922c065 100644 --- a/src/components/Avatar.svelte +++ b/src/components/Avatar.svelte @@ -8,7 +8,7 @@ export let disabled = false; $: s = size.toString(); - $: link = user.anon ? `/${user.pubkey}` : `/${user.username}`; + $: link = user?.anon ? `/${user.pubkey}` : `/${user.username}`; $: src = ($avatar?.id && $avatar.id === user.id && $avatar.src) || |
