mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
Clean up renders for CardStack
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user