{brew.title || '[ no title ]'}
{Moment(brew.ts).fromNow()}
{this.removeItem(`${brew.url}`, e);}}>
@@ -151,25 +151,25 @@ const RecentItems = createClass({
});
};
- return
+ return <>
{(this.props.showEdit && this.props.showView) ?
-
edited
: null }
+ edited : null }
{this.props.showEdit ?
makeItems(this.state.edit) : null }
{(this.props.showEdit && this.props.showView) ?
- viewed
: null }
+ viewed : null }
{this.props.showView ?
makeItems(this.state.view) : null }
- ;
+ >;
},
render : function(){
- return this.handleDropdown(true)}
- onMouseLeave={()=>this.handleDropdown(false)}>
- {this.props.text}
+ return
+
+ {this.props.text}
+
{this.renderDropdown()}
- ;
+ ;
}
});