Add missing keys to activity panel on homescreen (https://github.com/woocommerce/woocommerce-admin/pull/6065)
This commit is contained in:
parent
0bde0d5fea
commit
d05d615f71
|
@ -71,7 +71,12 @@ export const ActivityPanel = () => {
|
|||
<Text key={ title } variant="title.small">
|
||||
{ title }
|
||||
</Text>,
|
||||
count !== null && <Badge count={ count } />,
|
||||
count !== null && (
|
||||
<Badge
|
||||
key={ `${ title }-badge` }
|
||||
count={ count }
|
||||
/>
|
||||
),
|
||||
] }
|
||||
key={ id }
|
||||
className={ className }
|
||||
|
@ -82,7 +87,7 @@ export const ActivityPanel = () => {
|
|||
<PanelRow>{ panel }</PanelRow>
|
||||
</PanelBody>
|
||||
) : (
|
||||
<div className="components-panel__body">
|
||||
<div className="components-panel__body" key={ id }>
|
||||
<h2 className="components-panel__body-title">
|
||||
<Button
|
||||
className="components-panel__body-toggle"
|
||||
|
|
Loading…
Reference in New Issue