1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Remove console.log derp (#3810)

* fix copy pasta issue

* remove console.log derp

* resolve merge conflicts
This commit is contained in:
Brent Clark 2018-02-15 04:02:33 -06:00 committed by Tim Neutkens
parent a0798fd9ad
commit 24d862cd6b

View file

@ -8,7 +8,6 @@ const ActiveLink = ({ router, children, ...props }) => {
let className = child.props.className || null let className = child.props.className || null
if (router.pathname === props.href && props.activeClassName) { if (router.pathname === props.href && props.activeClassName) {
className = `${className !== null ? className : ''} ${props.activeClassName}`.trim() className = `${className !== null ? className : ''} ${props.activeClassName}`.trim()
console.log(className)
} }
delete props.activeClassName delete props.activeClassName