{photo && name ? (
// If there an image, show image
) : (
// If there is no image, show placeholder
)}
{name ? (
{name}
) : null}
{/* If we have voteCode and voting not closed, then show badge with code. Else dont show */}
{voteCode && voteStatus !== 'closed' ? (
// Desktop version
Ses bermek üçin
{voteCode}
ugrat
) : null}
{/* {votes ? votes : 0} */}
ses
{/* If we have voteCode and voting not closed, then show badge with code. Else dont show */}
{voteCode && voteStatus !== 'closed' ? (
// Mobile version
) : null}
{/* If we have voteCode and voting not closed, then show badge with code. Else dont show */}
{voteCode && voteStatus !== 'closed' ? (
// Desktop version
Ses bermek üçin
{voteCode}
ugrat
) : null}
{/* {votes ? votes : 0} */}
ses
{/* If we have voteCode and voting not closed, then show badge with code. Else dont show */}
{voteCode && voteStatus !== 'closed' ? (
// Mobile version