Merge pull request #52 from Luminarys/master
Fix torrent details rendering
This commit is contained in:
commit
1ca08d673e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user