fix lint error
This commit is contained in:
@ -8,9 +8,9 @@ const fCClogo = 'https://s3.amazonaws.com/freecodecamp/freecodecamp_logo.svg';
|
|||||||
const navElements = navLinks.map((navItem, index) => {
|
const navElements = navLinks.map((navItem, index) => {
|
||||||
return (
|
return (
|
||||||
<NavItem
|
<NavItem
|
||||||
key={ index }
|
|
||||||
eventKey={ index + 1 }
|
eventKey={ index + 1 }
|
||||||
href={ navItem.link }>
|
href={ navItem.link }
|
||||||
|
key={ index }>
|
||||||
{ navItem.content }
|
{ navItem.content }
|
||||||
</NavItem>
|
</NavItem>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user