diff --git a/app/src/components/Tree/TreeNode.tsx b/app/src/components/Tree/TreeNode.tsx index 30a1cf7..763984c 100644 --- a/app/src/components/Tree/TreeNode.tsx +++ b/app/src/components/Tree/TreeNode.tsx @@ -173,13 +173,6 @@ class TreeNodeComponent extends React.Component { this.addSubscriber(treeNode) } - public componentWillReceiveProps(nextProps: Props) { - if (nextProps.treeNode !== this.props.treeNode) { - this.removeSubscriber(this.props.treeNode) - this.addSubscriber(nextProps.treeNode) - } - } - public componentWillUnmount() { const { treeNode } = this.props this.removeSubscriber(treeNode)