浏览代码

Fixed incorrect use of key in the page /plugins?category=discover #15126 (#15127)

Jimmiaxie 1 月之前
父节点
当前提交
2a6e522a87
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/app/components/plugins/marketplace/list/list-with-collection.tsx

+ 1 - 1
web/app/components/plugins/marketplace/list/list-with-collection.tsx

@@ -65,7 +65,7 @@ const ListWithCollection = ({
 
                   return (
                     <CardWrapper
-                      key={plugin.name}
+                      key={plugin.plugin_id}
                       plugin={plugin}
                       showInstallButton={showInstallButton}
                       locale={locale}