diff --git a/src/plugins/sections/Tree.js b/src/plugins/sections/Tree.js index 9ea17e7ab..9dd7e15ee 100644 --- a/src/plugins/sections/Tree.js +++ b/src/plugins/sections/Tree.js @@ -212,7 +212,7 @@ export default class extends PureComponent { treeContainer: any = null; - componentWillReceiveProps(props: Props) { + UNSAFE_componentWillReceiveProps(props: Props) { if (this.props.data === props.data) { return; }