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