import React from 'react'; import Block from "./Block"; import Address from "./Address"; export class BlockLinks extends React.Component { render() { return this.props.cids.map((c, k) => { let block if(this.props.blocks) { block = this.props.blocks[k] } return }) } } class BlockLink extends React.Component { constructor(props) { super(props) this.openBlockViewer = this.openBlockViewer.bind(this) } openBlockViewer() { this.props.mountWindow((onClose) => ) } render() { let info = if(this.props.block) { info =  (by
) } return {this.props.cid['/'].substr(-8)}{info} } } export default BlockLink