Unique menu keys

This commit is contained in:
Chen-I Lim 2021-03-10 15:00:54 -08:00
parent fac8998ba2
commit 13d63f9cd1
2 changed files with 2 additions and 2 deletions

View file

@ -243,7 +243,7 @@ class CardDetail extends React.Component<Props, State> {
return (
<Menu.Text
ref={type}
key={type}
id={type}
name={handler.getDisplayText(intl)}
icon={handler.getIcon()}

View file

@ -108,7 +108,7 @@ class ContentBlock extends React.PureComponent<Props> {
return (
<Menu.Text
ref={type}
key={type}
id={type}
name={handler.getDisplayText(intl)}
icon={handler.getIcon()}