change links in nav to /{username}/sketches from /sketches

This commit is contained in:
Cassie Tarakajian 2017-01-24 16:14:07 -05:00
parent a9ee70e033
commit 257b44ad23

View file

@ -78,7 +78,7 @@ function Nav(props) {
<li className="nav__item">
<p className="nav__open">
<Link
to="/sketches"
to={`/${props.user.username}/sketches`}
onClick={props.stopSketch}
>
Open
@ -130,7 +130,7 @@ function Nav(props) {
<a>Hello, {props.user.username}!</a>
</li>
<li>
<Link to="/sketches">
<Link to={`/${props.user.username}/sketches`}>
My sketches
</Link>
</li>