Fix more stuff, particularly event handlers
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
selected: NodeViewProps["selected"]
|
||||
}
|
||||
|
||||
let {node, selected}: Props = $props()
|
||||
const {node, selected}: Props = $props()
|
||||
|
||||
const display = deriveProfileDisplay(node.attrs.pubkey)
|
||||
</script>
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
import WotScore from "@lib/components/WotScore.svelte"
|
||||
import ProfileCircle from "@app/components/ProfileCircle.svelte"
|
||||
|
||||
let {value} = $props()
|
||||
const {value} = $props()
|
||||
|
||||
const pubkey = value
|
||||
const profileDisplay = deriveProfileDisplay(pubkey)
|
||||
const handle = deriveHandleForPubkey(pubkey)
|
||||
const score = deriveUserWotScore(pubkey)
|
||||
|
||||
let following = $derived(getPubkeyTagValues(getListTags($userFollows)).includes(pubkey))
|
||||
const following = $derived(getPubkeyTagValues(getListTags($userFollows)).includes(pubkey))
|
||||
</script>
|
||||
|
||||
<div class="flex max-w-full gap-3">
|
||||
|
||||
Reference in New Issue
Block a user