mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-05 07:18:44 +00:00
log recent brews
This commit is contained in:
@@ -140,9 +140,8 @@ const RecentItems = createReactClass({
|
||||
},
|
||||
|
||||
renderDropdown : function(){
|
||||
// if(!this.state.showDropdown) return null;
|
||||
|
||||
const makeItems = (brews)=>{
|
||||
console.log(brews);
|
||||
if(brews.length === 0) return <Nav.item>No recent brews</Nav.item>
|
||||
return <div className='nav-section'>
|
||||
{_.map(brews, (brew, i)=>{
|
||||
|
||||
Reference in New Issue
Block a user