Skip to content

Commit 0ab4123

Browse files
committed
Fix missing 'to' props in Link components
1 parent 2919ec5 commit 0ab4123

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Navigation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { Link } from '@reach/router'
44
export default () => {
55
return (
66
<nav>
7-
<Link>Home</Link>
8-
<Link>About</Link>
7+
<Link to='/'>Home</Link>
8+
<Link to='about'>About</Link>
99
</nav>
1010
)
1111
}

0 commit comments

Comments
 (0)