var hide_side_trig = 1;
$("#colum_right").hide();
$('.hide_side').addClass("active");
$(".users_news, .boxes_news").addClass("long");
$("#colum_left").animate({"width":"1230px"}, function(){
$(".short_news").each(function(){
$(this).css({"width":"292px"});
});
$('.mas_news').masonry({
itemSelector: '.short_news',
singleMode: false,
isResizable: true,
"gutter": 20,
isAnimated: true,
animationOptions: {
queue: false,
duration: 500
}
});
$.cookie("hide_side", "1", {
expires : 360, //expires in 10 days
path : '/', //The value of the path attribute of the cookie
domian : 'mexalim.com.ua'
});
});
const data = []; // Условно, это ваш массив
data.forEach(moveBlock => {
const itemsInBlock = moveBlock.items;
if (items && items.length) {
// Тут делаете то, что вам нужно
}
})
render() {
return (
<div>
<h1>
{ this.state.person.map(results => results.name) }
</h1>
</div>
);
}