Skip to content

Commit

Permalink
fix: breadcrumbs duplicate keys
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet committed May 15, 2018
1 parent 898656f commit 3c0d8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BreadCrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const BreadCrumbs = ({ entries, onClick, style }) => {
<div style={style}>
{allEntries.map((entry, i) => (
<BreadCrumbEntry
key={entry.title}
key={entry.title + i}
onClick={() => onClick(entry, i)}
isLast={i === allEntries.length - 1}
{...entry}
Expand Down

0 comments on commit 3c0d8eb

Please sign in to comment.