Improve profile search
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import {displayProfile} from "@welshman/util"
|
||||
import {deriveProfile} from "@welshman/app"
|
||||
import Link from "@lib/components/Link.svelte"
|
||||
import {nostr} from '@app/state'
|
||||
import {entityLink} from '@app/state'
|
||||
|
||||
export let value
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
const nprofile = nip19.nprofileEncode(value)
|
||||
</script>
|
||||
|
||||
<Link external href={nostr(nprofile)} class="link-content">
|
||||
<Link external href={entityLink(nprofile)} class="link-content">
|
||||
@{displayProfile($profile)}
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user