Fix bug that stopped apps from displaying

pull/718/head
Will Piers 2016-12-05 16:54:11 -08:00 committed by Tim Raymond
parent c9befd8778
commit 930a1ef29f
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import React, {PropTypes} from 'react';
import shallowCompare from 'react-addons-shallow-compare';
import {Link} from 'react-router';
import _ from 'lodash';
@ -141,7 +142,7 @@ const HostRow = React.createClass({
},
shouldComponentUpdate(nextProps) {
return this.props.host !== nextProps.host;
return shallowCompare(this, nextProps);
},
render() {