Clean up renders for CardStack

This commit is contained in:
Franc Camps-Febrer
2018-11-27 14:46:49 -05:00
parent f345b76e57
commit 100c307fb5
4 changed files with 46 additions and 51 deletions

View File

@@ -13,7 +13,7 @@ class Viewport extends React.Component {
}
componentWillReceiveProps(nextProps) {
this.map.update(this.props.domain, this.props.app);
this.map.update(nextProps.domain, nextProps.app);
}
render() {