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">
|
<li className="nav__item">
|
||||||
<p className="nav__open">
|
<p className="nav__open">
|
||||||
<Link
|
<Link
|
||||||
to="/sketches"
|
to={`/${props.user.username}/sketches`}
|
||||||
onClick={props.stopSketch}
|
onClick={props.stopSketch}
|
||||||
>
|
>
|
||||||
Open
|
Open
|
||||||
|
@ -130,7 +130,7 @@ function Nav(props) {
|
||||||
<a>Hello, {props.user.username}!</a>
|
<a>Hello, {props.user.username}!</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Link to="/sketches">
|
<Link to={`/${props.user.username}/sketches`}>
|
||||||
My sketches
|
My sketches
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue