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:
Albert Juhé Lluveras 2021-02-10 12:37:58 +01:00 committed by GitHub
parent 7afdb11dc4
commit 7b829b8a82
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ const Package = ( {
const quantity = v.quantity;
return (
<li
key={ name }
key={ v.key }
className="wc-block-components-shipping-rates-control__package-item"
>
<Label