Add chat sidebar

This commit is contained in:
Jon Staab
2024-10-03 17:04:00 -07:00
parent 749185190b
commit 7ffd02b736
9 changed files with 187 additions and 31 deletions
+10
View File
@@ -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} />