const path = props.path; const blockHeight = props.blockHeight; const edges = Social.index("edges", path); if (!edges) { return <></>; } return ( <div> {edges?.map((it) => { return ( <Widget src="efiz.near/widget/every.edge.view" props={{ path: it.value.path, blockHeight }} /> ); })} </div> );