flotilla/src/app/components/ProfileName.svelte
2026-07-29 15:52:13 -07:00

15 lines
310 B
Svelte

<script lang="ts">
import {removeUndefined} from "@welshman/lib"
import {profiles} from "@app/core"
type Props = {
pubkey: string
url?: string
}
const {pubkey, url}: Props = $props()
const profileDisplay = $profiles.display(pubkey, removeUndefined([url])).$
</script>
{$profileDisplay}