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
@@ -5,7 +5,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 node: NodeViewProps["node"]
export let selected: NodeViewProps["selected"]
@@ -16,7 +16,7 @@
<NodeViewWrapper class="inline">
<Link
external
href={nostr(node.attrs.nprofile)}
href={entityLink(node.attrs.nprofile)}
class={cx("link-content", {"link-content-selected": selected})}>
@{displayProfile($profile)}
</Link>