Skip to content

Commit

Permalink
fix: missing key
Browse files Browse the repository at this point in the history
  • Loading branch information
numbap committed Mar 29, 2023
1 parent 82cbc9c commit 9551c49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified dts-stn-service-canada-design-system-1.56.5.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/Menu/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function Menu(props) {
{menuList.map((element, index) => {
const Component = element?.component || "a";
return Component !== "a" ? (
<div onClick={() => setShowDropdown(false)}>
<div onClick={() => setShowDropdown(false)} key={index}>
<Component
href={element.path}
passHref={element.passHref}
Expand Down

0 comments on commit 9551c49

Please sign in to comment.