From 3b28ebd3d627549ac0097d78a3b99a428a07e38b Mon Sep 17 00:00:00 2001 From: Luminarys Date: Mon, 23 Apr 2018 20:17:17 -0700 Subject: [PATCH] Fix torrent details rendering Closes #51 --- src/ui/torrent_details.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/torrent_details.js b/src/ui/torrent_details.js index 1042a4c..5978462 100644 --- a/src/ui/torrent_details.js +++ b/src/ui/torrent_details.js @@ -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