Skip to content

Commit

Permalink
fix(core/nav): fix NavSection react key (#8218)
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Apr 29, 2020
1 parent 68cb384 commit daf7200
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface INavigationSectionProps {
export const NavSection = ({ activeCategoryName, app, categories }: INavigationSectionProps) => (
<div className="nav-section sp-padding-s-yaxis text-semibold">
{categories.map(category => (
<NavRoute key={category.label} category={category} app={app} isActive={category.label === activeCategoryName} />
<NavRoute key={category.key} category={category} app={app} isActive={category.label === activeCategoryName} />
))}
</div>
);

0 comments on commit daf7200

Please sign in to comment.