Merge pull request #52 from Luminarys/master

Fix torrent details rendering
master
Drew DeVault 2018-04-24 10:20:19 +02:00 committed by GitHub
commit 1ca08d673e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,9 @@ class Torrent extends Component {
shouldComponentUpdate(nextProps, nextState) {
return nextProps.torrent !== this.props.torrent
|| nextProps.trackers !== this.props.trackers
|| nextProps.files !== this.props.files
|| nextProps.peers !== this.props.peers
|| nextState.removeDropdown !== this.state.removeDropdown
|| nextState.peersShown !== this.state.peersShown
|| nextState.trackersShown !== this.state.trackersShown