Skip to content

Commit

Permalink
Use componentDidMount instead of componentWillMount
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Dec 7, 2019
1 parent ba03602 commit db4fbb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widget/ModalEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Edit extends Component {
this.props.onChangeValue(chartData);
}

componentWillMount() {
componentDidMount() {
this.props.searchContent('', {
object_provides: 'forests.content.interfaces.IBasicDataProvider',
});
Expand Down

0 comments on commit db4fbb4

Please sign in to comment.