fix key warning
This commit is contained in:
parent
850578a973
commit
b4c1eca1c5
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export default class MessageComposer extends React.Component {
|
|||
|
||||
let fileList = [];
|
||||
for (let i=0; i<files.length; i++) {
|
||||
fileList.push(<li>
|
||||
fileList.push(<li key={i}>
|
||||
<TintableSvg key={i} src="img/files.svg" width="16" height="16" /> {files[i].name}
|
||||
</li>);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue