Add chat sidebar
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<script lang="ts">
|
||||
import {deriveProfile} from '@welshman/app'
|
||||
import Avatar from '@lib/components/Avatar.svelte'
|
||||
|
||||
export let pubkey
|
||||
|
||||
const profile = deriveProfile(pubkey)
|
||||
</script>
|
||||
|
||||
<Avatar src={$profile?.picture} icon="user-circle" {...$$props} />
|
||||
Reference in New Issue
Block a user