Skip to content

Commit f37357d

Browse files
OstafinLjuskora
authored andcommitted
IBX-10117: Errors thrown in the console when uploading more files
1 parent a38cbee commit f37357d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bundle/ui-dev/src/modules/multi-file-upload/components/upload-list/upload.list.component.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ export default class UploadListComponent extends Component {
9595
const { adminUiConfig, parentInfo, contentCreatePermissionsConfig, contentTypesMap, currentLanguage } = this.props;
9696
const attrs = {
9797
item,
98-
key: item.id,
9998
adminUiConfig,
10099
parentInfo,
101100
contentCreatePermissionsConfig,
@@ -105,7 +104,7 @@ export default class UploadListComponent extends Component {
105104
...customAttrs,
106105
};
107106

108-
return <UploadItemComponent {...attrs} />;
107+
return <UploadItemComponent key={item.id} {...attrs} />;
109108
}
110109

111110
render() {

0 commit comments

Comments
 (0)