flotilla/src/app/components/ProfileCircle.svelte

11 lines
258 B
Svelte
Raw Normal View History

2024-10-04 00:04:00 +00:00
<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} />