forked from coracle/flotilla
Improve profile search
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user