diff --git a/js/webtorrent/components/torrentFileList.js b/js/webtorrent/components/torrentFileList.js index f46e2a5c6f0..c837139d442 100644 --- a/js/webtorrent/components/torrentFileList.js +++ b/js/webtorrent/components/torrentFileList.js @@ -19,7 +19,7 @@ class TorrentFileList extends React.Component { defaultHeading='num' defaultHeadingSortOrder='asc' rows={files.map((file, i) => [ - String(i + 1), + i + 1, {cell: this.renderFileLink(file, false)}, {cell: this.renderFileLink(file, true)}, prettierBytes(file.length)