Unique menu keys
This commit is contained in:
parent
fac8998ba2
commit
13d63f9cd1
2 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ class CardDetail extends React.Component<Props, State> {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Menu.Text
|
<Menu.Text
|
||||||
ref={type}
|
key={type}
|
||||||
id={type}
|
id={type}
|
||||||
name={handler.getDisplayText(intl)}
|
name={handler.getDisplayText(intl)}
|
||||||
icon={handler.getIcon()}
|
icon={handler.getIcon()}
|
||||||
|
|
|
@ -108,7 +108,7 @@ class ContentBlock extends React.PureComponent<Props> {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Menu.Text
|
<Menu.Text
|
||||||
ref={type}
|
key={type}
|
||||||
id={type}
|
id={type}
|
||||||
name={handler.getDisplayText(intl)}
|
name={handler.getDisplayText(intl)}
|
||||||
icon={handler.getIcon()}
|
icon={handler.getIcon()}
|
||||||
|
|
Loading…
Reference in a new issue