mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
Fix isActive reference
This commit is contained in:
parent
83c652a4f0
commit
d399027dd6
@ -31,7 +31,7 @@ let WalletApp = React.createClass({
|
||||
let activeRoutes = this.props.routes.map(elem => 'route--' + elem.path.split('/')[0]);
|
||||
|
||||
let header = null;
|
||||
if ((this.isActive('/') || this.isActive('/login') || this.isActive('/signup') || this.isActive('/contract_notifications'))
|
||||
if ((this.props.history.isActive('/login') || this.props.history.isActive('/signup') || this.props.history.isActive('/contract_notifications'))
|
||||
&& (['ikonotv', 'cyland']).indexOf(subdomain) > -1) {
|
||||
header = (<div className="hero"/>);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user