Skip to content

Commit

Permalink
fix key reference (apache#19519)
Browse files Browse the repository at this point in the history
(cherry picked from commit c2fae82)
  • Loading branch information
hughhhh authored and sadpandajoe committed Apr 6, 2022
1 parent 4d9eb27 commit c6b7a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/views/components/MenuRight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ const RightMenu = ({
typeof item !== 'string' && item.name && item.perm ? (
<Fragment key={item.name}>
{idx === 2 && <Menu.Divider />}
<Menu.Item>
<Menu.Item key={item.name}>
{item.url ? (
<a href={item.url}> {item.label} </a>
) : (
Expand Down

0 comments on commit c6b7a4d

Please sign in to comment.