fix(netlify-cms-core): duplicate key warning (#1930)

This commit is contained in:
Bartholomew 2018-12-04 22:25:18 +01:00 committed by Shawn Erquhart
parent 53c00940fe
commit 9662eb292f

View File

@ -184,7 +184,7 @@ class WorkflowList extends React.Component {
return ( return (
<DragSource <DragSource
namespace={DNDNamespace} namespace={DNDNamespace}
key={slug} key={`${collection}-${slug}`}
slug={slug} slug={slug}
collection={collection} collection={collection}
ownStatus={ownStatus} ownStatus={ownStatus}