fix key reference (#19519)

This commit is contained in:
Hugh A. Miles II 2022-04-04 14:19:46 -04:00 committed by GitHub
parent 82a653f64b
commit c2fae82fa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>
) : (