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:
parent
a0798fd9ad
commit
24d862cd6b
|
@ -8,7 +8,6 @@ const ActiveLink = ({ router, children, ...props }) => {
|
|||
let className = child.props.className || null
|
||||
if (router.pathname === props.href && props.activeClassName) {
|
||||
className = `${className !== null ? className : ''} ${props.activeClassName}`.trim()
|
||||
console.log(className)
|
||||
}
|
||||
|
||||
delete props.activeClassName
|
||||
|
|
Loading…
Reference in a new issue