diff --git a/client/homebrew/pages/sharePage/sharePage.jsx b/client/homebrew/pages/sharePage/sharePage.jsx
index f8e19a8d1..6c0771a74 100644
--- a/client/homebrew/pages/sharePage/sharePage.jsx
+++ b/client/homebrew/pages/sharePage/sharePage.jsx
@@ -79,21 +79,6 @@ const SharePage = createClass({
;
},
- renderPrint : function(){
- if(!this.props.brew.shareId) return;
- return ;
- },
-
- renderSourceDropdown : function(){
- if(!this.props.brew.shareId) return;
- return this.handleDropdown(true)}
- onMouseLeave={()=>this.handleDropdown(false)}>
- source
- {this.renderDropdown()}
- ;
- },
-
render : function(){
return
@@ -103,8 +88,13 @@ const SharePage = createClass({
- {this.renderPrint()}
- {this.renderSourceDropdown()}
+ {this.props.shareId &&
+ this.handleDropdown(true)}
+ onMouseLeave={()=>this.handleDropdown(false)}>
+ source
+ {this.renderDropdown()}
+ }