forked from coracle/flotilla
Fix more stuff, particularly event handlers
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
import ProfileDetail from "@app/components/ProfileDetail.svelte"
|
||||
import {pushModal} from "@app/modal"
|
||||
|
||||
let {value} = $props()
|
||||
const {value} = $props()
|
||||
|
||||
const profile = deriveProfile(value.pubkey)
|
||||
|
||||
const openProfile = () => pushModal(ProfileDetail, {pubkey: value.pubkey})
|
||||
</script>
|
||||
|
||||
<Button on:click={openProfile} class="link-content">
|
||||
<Button onclick={openProfile} class="link-content">
|
||||
@{displayProfile($profile)}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user