Merge pull request #1166 from janza/fix-react-key-error

Add missing key to torrent status element
This commit is contained in:
Feross Aboukhadijeh
2018-04-24 16:03:30 -07:00
committed by GitHub

View File

@@ -216,7 +216,7 @@ module.exports = class TorrentList extends React.Component {
} else { // torrentSummary.status is 'new' or something unexpected
status = ''
}
return (<span>{status}</span>)
return (<span key='torrent-status'>{status}</span>)
}
}