Skip to content
Snippets Groups Projects
Commit b0bb2223 authored by danieldeng2's avatar danieldeng2
Browse files

Add key to breadcrumb items

parent 02f4250a
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ const MyBreadcrumbs = withBreadcrumbs([{ path: "/", breadcrumb: "" }])(
{breadcrumbs.map(
({ match, breadcrumb }: { match: any; breadcrumb: any }) => (
<Breadcrumb.Item
key={match.url}
className={styles.breadcrumbItem}
linkAs={Link}
linkProps={{ to: match.url }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment