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 (
|
||||
<Router>
|
||||
<span id="apppage">
|
||||
{!currentPath.includes("marketing") ? <HomeNav /> : <MarketingNav />}
|
||||
{!currentPath.includes("marketing") ? (
|
||||
<HomeNav toggle2={this.toggle2} />
|
||||
) : (
|
||||
<MarketingNav />
|
||||
)}
|
||||
{collapsed && overlay}
|
||||
|
||||
<Routes />
|
||||
|
|
|
@ -101,7 +101,7 @@ class HomeNav extends React.Component {
|
|||
</Link>
|
||||
</NavItem>
|
||||
<NavItem>
|
||||
<NavLink to="#!" onClick={this.toggle2}>
|
||||
<NavLink to="#!" onClick={this.props.toggle2}>
|
||||
<span id="nav_lang4">Downloads</span>
|
||||
</NavLink>
|
||||
</NavItem>
|
||||
|
|
Loading…
Reference in a new issue