Skip to content

Commit

Permalink
docs(nxdev): add breadcrumbs index key
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes committed Oct 24, 2022
1 parent 2ed5d57 commit 4eb833a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx-dev/ui-common/src/lib/breadcrumbs.tsx
Expand Up @@ -27,7 +27,7 @@ export function Breadcrumbs({ path }: { path: string }): JSX.Element {
<nav className="flex" aria-labelledby="breadcrumb">
<ol role="list" className="flex items-center space-x-4">
{pages.map((page, index) => (
<li key={page.name}>
<li key={page.name.concat('-', index.toString())}>
<div className="flex items-center">
{!!index && (
<ChevronRightIcon
Expand Down

0 comments on commit 4eb833a

Please sign in to comment.