Improve profile search

This commit is contained in:
Jon Staab
2024-09-24 16:30:32 -07:00
parent 605273d7c7
commit cb702976ee
13 changed files with 50 additions and 36 deletions
+2 -2
View File
@@ -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>