From 6c264a08a03db10651e1e4414bf38f7826df2692 Mon Sep 17 00:00:00 2001 From: Fernando Date: Wed, 5 Aug 2020 16:01:02 -0300 Subject: [PATCH] Added key to generic items in list without one (https://github.com/woocommerce/woocommerce-admin/pull/4936) This commit adds a key to generic items in list that don't have one Co-authored-by: Fernando Marichal --- .../woocommerce-admin/packages/components/src/list/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-admin/packages/components/src/list/index.js b/plugins/woocommerce-admin/packages/components/src/list/index.js index 7e43a0b065e..777fbd15213 100644 --- a/plugins/woocommerce-admin/packages/components/src/list/index.js +++ b/plugins/woocommerce-admin/packages/components/src/list/index.js @@ -42,7 +42,7 @@ class List extends Component { className={ listClassName } role="menu" > - { items.map( ( item ) => { + { items.map( ( item, index ) => { const { after, before, @@ -81,7 +81,7 @@ class List extends Component { return (