add missing key attribute to nav item list
This commit is contained in:
parent
90b55fb6a7
commit
b9e37fea6c
|
@ -21,6 +21,7 @@ export default () => (
|
||||||
<div className={navStyles.navContent}>
|
<div className={navStyles.navContent}>
|
||||||
{pages.map(([title, link]) => (
|
{pages.map(([title, link]) => (
|
||||||
<Link
|
<Link
|
||||||
|
key={title}
|
||||||
className={navStyles.navItem}
|
className={navStyles.navItem}
|
||||||
activeClassName={navStyles.navItemActive}
|
activeClassName={navStyles.navItemActive}
|
||||||
activeStyle={{ textDecoration: `solid underline white 0.2em` }}
|
activeStyle={{ textDecoration: `solid underline white 0.2em` }}
|
||||||
|
|
Loading…
Reference in New Issue