const React = require('react'); const _ = require('lodash'); const cx = require('classnames'); const Nav = require('naturalcrit/nav/nav.jsx'); const Navbar = require('../../navbar/navbar.jsx'); const BrewItem = require('./brewItem/brewItem.jsx'); const UserPage = React.createClass({ getDefaultProps: function() { return { username : '', brews : [] }; }, renderBrews : function(){ return _.map(this.props.brews, (brew) => { return }); }, render : function(){ console.log(this.props.brews); return
holla

{this.props.username}

{this.renderBrews()}
} }); module.exports = UserPage;