change links in nav to /{username}/sketches from /sketches
This commit is contained in:
parent
a9ee70e033
commit
257b44ad23
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue