mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Remove unused showAddWork
property from Header
This commit is contained in:
parent
6cc9ce8094
commit
08025cc427
@ -32,7 +32,7 @@ let PrizeApp = React.createClass({
|
||||
if (!path || history.isActive('/login') || history.isActive('/signup')) {
|
||||
header = <Hero />;
|
||||
} else {
|
||||
header = <Header showAddWork={false} routes={routes}/>;
|
||||
header = <Header routes={routes}/>;
|
||||
}
|
||||
|
||||
return (
|
||||
|
@ -35,7 +35,7 @@ let WalletApp = React.createClass({
|
||||
&& (['cyland', 'ikonotv', 'lumenus', '23vivi']).indexOf(subdomain) > -1) {
|
||||
header = (<div className="hero"/>);
|
||||
} else {
|
||||
header = <Header showAddWork={true} routes={routes} />;
|
||||
header = <Header routes={routes} />;
|
||||
}
|
||||
|
||||
// In react-router 1.0, Routes have no 'name' property anymore. To keep functionality however,
|
||||
|
Loading…
Reference in New Issue
Block a user