Fix torrent details rendering

Closes #51
master
Luminarys 2018-04-23 20:17:17 -07:00
parent 305f5c245c
commit 3b28ebd3d6
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