From db4fbb4ff72361a1fbdd4fd06a67b641eb085936 Mon Sep 17 00:00:00 2001 From: Tiberiu Ichim Date: Sat, 7 Dec 2019 09:26:20 +0200 Subject: [PATCH] Use componentDidMount instead of componentWillMount --- src/Widget/ModalEditor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Widget/ModalEditor.jsx b/src/Widget/ModalEditor.jsx index ce2f463c..3a072c11 100644 --- a/src/Widget/ModalEditor.jsx +++ b/src/Widget/ModalEditor.jsx @@ -56,7 +56,7 @@ class Edit extends Component { this.props.onChangeValue(chartData); } - componentWillMount() { + componentDidMount() { this.props.searchContent('', { object_provides: 'forests.content.interfaces.IBasicDataProvider', });