From 3f41d818b674683f24933b1da6a4fb8c89f94c1b Mon Sep 17 00:00:00 2001 From: invalid w Date: Mon, 22 Jan 2024 17:43:23 +0800 Subject: [PATCH] chore(admin-ui): add key for gift-cards table cells map fn (#6154) ![image](https://github.com/medusajs/medusa/assets/24707417/e13ff43b-770e-4698-bb9a-e22b866069f6) --- .../ui/src/components/templates/gift-card-table/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/admin-ui/ui/src/components/templates/gift-card-table/index.tsx b/packages/admin-ui/ui/src/components/templates/gift-card-table/index.tsx index 47893536dd..bd70a32c86 100644 --- a/packages/admin-ui/ui/src/components/templates/gift-card-table/index.tsx +++ b/packages/admin-ui/ui/src/components/templates/gift-card-table/index.tsx @@ -184,7 +184,7 @@ const GiftCardTable = () => { className="group" > {row.cells.map((cell, index) => { - return cell.render("Cell", { index }) + return cell.render("Cell", { index, key: index }) })} )