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 (
<DragSource
namespace={DNDNamespace}
key={slug}
key={`${collection}-${slug}`}
slug={slug}
collection={collection}
ownStatus={ownStatus}