Add react key for nav items
This commit is contained in:
committed by
Vishnu Ks
parent
c2aae6dbd5
commit
2412ec36f9
@@ -33,7 +33,7 @@ export default () => {
|
||||
</div>
|
||||
{data.allCategoriesJson.edges.map(function(x, index) {
|
||||
return (
|
||||
<Nav.Item>
|
||||
<Nav.Item key={index}>
|
||||
<Nav.Link href={slugify(x.node.name)}>
|
||||
{x.node.emoji} {x.node.name}
|
||||
</Nav.Link>
|
||||
|
||||
Reference in New Issue
Block a user