Clean up deriveProfile call in ProfileCircle

This commit is contained in:
mplorentz
2026-03-16 09:52:40 -04:00
parent b34f6b2754
commit b5dd7dd590
+2 -2
View File
@@ -14,11 +14,11 @@
const {pubkey, url, size = 7, ...props}: Props = $props()
const profile = pubkey ? deriveProfile(pubkey, removeUndefined([url])) : undefined
const profile = deriveProfile(pubkey, removeUndefined([url]))
</script>
<ImageIcon
{size}
alt=""
class={cx(props.class, "rounded-full")}
src={(profile ? $profile?.picture : undefined) || UserRounded} />
src={$profile?.picture || UserRounded} />