Migrate more stuff
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
import {deriveProfile} from "@welshman/app"
|
||||
import Avatar from "@lib/components/Avatar.svelte"
|
||||
|
||||
export let pubkey
|
||||
let {...props} = $props()
|
||||
|
||||
const profile = deriveProfile(pubkey)
|
||||
const profile = deriveProfile(props.pubkey)
|
||||
</script>
|
||||
|
||||
<Avatar src={$profile?.picture} icon="user-circle" {...$$props} />
|
||||
<Avatar src={$profile?.picture} icon="user-circle" {...props} />
|
||||
|
||||
Reference in New Issue
Block a user