Skip to content

Commit

Permalink
fixed key of a row with parametric value
Browse files Browse the repository at this point in the history
  • Loading branch information
MV88 committed Oct 13, 2016
1 parent 2b8e4d8 commit 985c11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/client/components/file/FileUploader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ const FileUploader = React.createClass({
</tr>
</thead>
<tbody>
{this.state.fileList && this.state.fileList.map((file) =>
(<tr key="row">
{this.state.fileList && this.state.fileList.map((file, index) =>
(<tr key={"row_" + index}>
<td key="name">{file.name}</td>
<td key="size">{this.humanFileSize(file.size)}</td>
<td key="type">{file.type}</td>
Expand Down

0 comments on commit 985c11c

Please sign in to comment.