mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Add a space on README (#5574)
Hi Just add a space on README. That line should be same as [here](https://github.com/zeit/next.js/blob/canary/examples/using-with-router/components/ActiveLink.js#L10)
This commit is contained in:
parent
c95abc209b
commit
ad84d23a02
|
@ -676,7 +676,7 @@ import { withRouter } from 'next/router'
|
||||||
const ActiveLink = ({ children, router, href }) => {
|
const ActiveLink = ({ children, router, href }) => {
|
||||||
const style = {
|
const style = {
|
||||||
marginRight: 10,
|
marginRight: 10,
|
||||||
color: router.pathname === href? 'red' : 'black'
|
color: router.pathname === href ? 'red' : 'black'
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleClick = (e) => {
|
const handleClick = (e) => {
|
||||||
|
|
Loading…
Reference in a new issue