diff --git a/src/lib/components/util/InlineProfile.svelte b/src/lib/components/util/InlineProfile.svelte index 507b3d8..4b9efe3 100644 --- a/src/lib/components/util/InlineProfile.svelte +++ b/src/lib/components/util/InlineProfile.svelte @@ -1,12 +1,13 @@ {#if loading} - -{:else if pubkey} - {shortenNpub(npub)} +{:else if npub } + + - {username} + {username ?? shortenNpub(npub)} + {:else} - Not found + {title ?? pubkey} {/if} \ No newline at end of file