var React = require('react') var Link = require('react-router').Link var UserID = require('userID.jsx') var GetIPFS = require('getipfs.jsx') var Post = require('post.jsx') module.exports = function (boardsAPI) { return React.createClass({ getInitialState: function () { return { } }, componentDidMount: function () { boardsAPI.use(boards => { this.setState({ api: boards }) }) }, getContext: function () { if (this.props.params.userid) { if (this.props.params.boardname) { return