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