commit4
This commit is contained in:
parent
237040cadf
commit
5c6c14fcc5
2 changed files with 6 additions and 2 deletions
|
@ -85,7 +85,11 @@ class App extends React.Component {
|
||||||
return (
|
return (
|
||||||
<Router>
|
<Router>
|
||||||
<span id="apppage">
|
<span id="apppage">
|
||||||
{!currentPath.includes("marketing") ? <HomeNav /> : <MarketingNav />}
|
{!currentPath.includes("marketing") ? (
|
||||||
|
<HomeNav toggle2={this.toggle2} />
|
||||||
|
) : (
|
||||||
|
<MarketingNav />
|
||||||
|
)}
|
||||||
{collapsed && overlay}
|
{collapsed && overlay}
|
||||||
|
|
||||||
<Routes />
|
<Routes />
|
||||||
|
|
|
@ -101,7 +101,7 @@ class HomeNav extends React.Component {
|
||||||
</Link>
|
</Link>
|
||||||
</NavItem>
|
</NavItem>
|
||||||
<NavItem>
|
<NavItem>
|
||||||
<NavLink to="#!" onClick={this.toggle2}>
|
<NavLink to="#!" onClick={this.props.toggle2}>
|
||||||
<span id="nav_lang4">Downloads</span>
|
<span id="nav_lang4">Downloads</span>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</NavItem>
|
</NavItem>
|
||||||
|
|
Loading…
Reference in a new issue