Use cart item key instead of name as the React key in Package (https://github.com/woocommerce/woocommerce-blocks/pull/3814)
This commit is contained in:
parent
7afdb11dc4
commit
7b829b8a82
|
@ -48,7 +48,7 @@ const Package = ( {
|
||||||
const quantity = v.quantity;
|
const quantity = v.quantity;
|
||||||
return (
|
return (
|
||||||
<li
|
<li
|
||||||
key={ name }
|
key={ v.key }
|
||||||
className="wc-block-components-shipping-rates-control__package-item"
|
className="wc-block-components-shipping-rates-control__package-item"
|
||||||
>
|
>
|
||||||
<Label
|
<Label
|
||||||
|
|
Loading…
Reference in New Issue