add missing key attribute to nav item list

This commit is contained in:
neri 2019-12-12 02:05:17 +01:00
parent 90b55fb6a7
commit b9e37fea6c
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ export default () => (
<div className={navStyles.navContent}>
{pages.map(([title, link]) => (
<Link
key={title}
className={navStyles.navItem}
activeClassName={navStyles.navItemActive}
activeStyle={{ textDecoration: `solid underline white 0.2em` }}