Fix basedavatar component to use AvatarPrimitive.Image

This commit is contained in:
2026-03-27 00:27:20 -05:00
parent abf78e6bd1
commit b2040757eb

View File

@@ -35,7 +35,7 @@ const BasedAvatar = ({
{...props}
>
{src ? (
<AvatarImage
<AvatarPrimitive.Image
{...imageProps}
src={src}
className={imageProps?.className}