diff --git a/client/homebrew/homebrew.jsx b/client/homebrew/homebrew.jsx index d3cc1e824..94131b1dd 100644 --- a/client/homebrew/homebrew.jsx +++ b/client/homebrew/homebrew.jsx @@ -48,7 +48,7 @@ const Homebrew = createClass({ }/> } /> } /> - }/> + }/> }/> diff --git a/client/homebrew/pages/sharePage/sharePage.jsx b/client/homebrew/pages/sharePage/sharePage.jsx index 1b714a147..f8e19a8d1 100644 --- a/client/homebrew/pages/sharePage/sharePage.jsx +++ b/client/homebrew/pages/sharePage/sharePage.jsx @@ -25,9 +25,7 @@ const SharePage = createClass({ updatedAt : null, views : 0, renderer : '' - }, - showSource : true, - showPrint : true + } }; }, @@ -82,12 +80,12 @@ const SharePage = createClass({ }, renderPrint : function(){ - if(!this.state.showPrint) return; + if(!this.props.brew.shareId) return; return ; }, renderSourceDropdown : function(){ - if(!this.state.showSource) return; + if(!this.props.brew.shareId) return; return this.handleDropdown(true)} onMouseLeave={()=>this.handleDropdown(false)}>