import mangoStore from '../../store/mangoStore'
import ProfileIcon from '../icons/ProfileIcon'
const ProfileImage = ({
imageSize,
placeholderSize,
imageUrl,
isOwnerProfile,
}: {
imageSize: string
placeholderSize: string
imageUrl?: string | null
isOwnerProfile?: boolean
}) => {
const profile = mangoStore((s) => s.profile.details)
return imageUrl || (isOwnerProfile && profile?.profile_image_url) ? (
) : (