Skip to content

Commit

Permalink
fix: <Link> warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Feb 28, 2019
1 parent 6cd14d3 commit 3a9004d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Index extends Component {
as={`/post/${post.slug}`}
href={`/post?slug=${post.slug}&apiRoute=post`}
>
{post.title.rendered}
<a>{post.title.rendered}</a>
</Link>
</li>
</ul>
Expand All @@ -94,7 +94,7 @@ class Index extends Component {
as={`/page/${ipage.slug}`}
href={`/post?slug=${ipage.slug}&apiRoute=page`}
>
{ipage.title.rendered}
<a>{ipage.title.rendered}</a>
</Link>
</li>
</ul>
Expand Down

0 comments on commit 3a9004d

Please sign in to comment.