Skip to content

Commit

Permalink
Remove navLinkActiveStyle variable
Browse files Browse the repository at this point in the history
  • Loading branch information
verekia committed Mar 2, 2017
1 parent e6463a9 commit d927ca2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/shared/component/nav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import {
NOT_FOUND_DEMO_PAGE_ROUTE,
} from '../routes'

const navLinkActiveStyle = { color: 'white' }

const handleNavLinkClick = () => {
$('body').scrollTop(0)
$('.js-navbar-collapse').collapse('hide')
Expand All @@ -33,7 +31,7 @@ const Nav = () =>
{ route: NOT_FOUND_DEMO_PAGE_ROUTE, label: '404 Demo' },
].map(link => (
<li className="nav-item" key={link.route}>
<NavLink to={link.route} className="nav-link" activeStyle={navLinkActiveStyle} exact onClick={handleNavLinkClick}>{link.label}</NavLink>
<NavLink to={link.route} className="nav-link" activeStyle={{ color: 'white' }} exact onClick={handleNavLinkClick}>{link.label}</NavLink>
</li>
))}
</ul>
Expand Down

0 comments on commit d927ca2

Please sign in to comment.