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
@@ -4,7 +4,7 @@
import {ellipsize} from "@welshman/lib"
import {type TrustedEvent, fromNostrURI, Address} from "@welshman/util"
import Link from "@lib/components/Link.svelte"
import {deriveEvent, nostr} from "@app/state"
import {deriveEvent, entityLink} from "@app/state"
export let node: NodeViewProps["node"]
@@ -18,7 +18,7 @@
</script>
<NodeViewWrapper class="inline">
<Link external href={nostr(node.attrs.nevent)} class="link-content">
<Link external href={entityLink(node.attrs.nevent)} class="link-content">
{displayEvent($event)}
</Link>
</NodeViewWrapper>