added key to tag list

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
Florian Bouillon 2020-01-04 23:45:33 +01:00
parent c2dbe618c7
commit 7f06c1b368
No known key found for this signature in database
GPG Key ID: B143FF27EF555D16

View File

@ -40,7 +40,7 @@ export default class PostPage extends Component<Props, States> {
<p>Tags:</p>
<ul>
{this.props.post.header.tags.map((el) => (
<li>
<li key={el}>
<Link href="/tag/[tag]" as={'/tag/'+el.toLowerCase()}>
<a className="button">{el}</a>
</Link>