Remove code for Linux close link

Not needed for Electron
This commit is contained in:
Alex Liebowitz 2017-02-28 18:22:20 -05:00
parent 1ccbbe721f
commit c12b7645a7

View file

@ -33,7 +33,6 @@ var Drawer = React.createClass({
}.bind(this));
},
render: function() {
var isLinux = false && /linux/i.test(navigator.userAgent); // @TODO: find a way to use getVersionInfo() here without messy state management
return (
<nav id="drawer">
<div id="drawer-handle">
@ -46,7 +45,6 @@ var Drawer = React.createClass({
<DrawerItem href="index.html?wallet" subPages={['send', 'receive', 'claim', 'referral']} viewingPage={this.props.viewingPage} label="My Wallet" badge={lbry.formatCredits(this.state.balance) } icon="icon-bank" />
<DrawerItem href='index.html?settings' viewingPage={this.props.viewingPage} label="Settings" icon='icon-gear' />
<DrawerItem href='index.html?help' viewingPage={this.props.viewingPage} label="Help" icon='icon-question-circle' />
{isLinux ? <Link href="index.html?start" icon="icon-close" className="close-lbry-link" /> : null}
</nav>
);
}