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 | 0afe8f03e6e6b35a509603e852292b2c874d6af3 (patch) | |
| tree | 091c308eeaf69a4a4aafdbc83b183e19f52c26a3 /src/components | |
| parent | ab78f53c54170202d21a62740483b96a0d9373bc (diff) | |
| download | coinos-ui-0afe8f03e6e6b35a509603e852292b2c874d6af3.tar.gz coinos-ui-0afe8f03e6e6b35a509603e852292b2c874d6af3.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) || |
