Fixed warning: key property for editor widgets
This commit is contained in:
parent
3268236a7b
commit
8f0a78a7d4
|
@ -323,6 +323,7 @@ export default class Editor extends Component {
|
|||
<div className="r6o-editor-inner">
|
||||
{widgets.map((widget, idx) =>
|
||||
React.cloneElement(widget, {
|
||||
key: `${idx}`,
|
||||
focus: idx === 0,
|
||||
annotation : currentAnnotation,
|
||||
readOnly : this.props.readOnly,
|
||||
|
|
Loading…
Reference in New Issue