mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 03:37:04 +00:00
log recent brews
This commit is contained in:
1 parent
ad2fad2a6e
commit
c606d87dc9
1 file changed
+1
-2
@@ -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