diff --git a/src/core_plugins/metrics/public/components/vis_editor.js b/src/core_plugins/metrics/public/components/vis_editor.js index 17ad8c7d12da2..87b3e7b5b9cf7 100644 --- a/src/core_plugins/metrics/public/components/vis_editor.js +++ b/src/core_plugins/metrics/public/components/vis_editor.js @@ -114,6 +114,10 @@ class VisEditor extends Component { } +VisEditor.defaultProps = { + visData: {} +}; + VisEditor.propTypes = { vis: PropTypes.object, visData: PropTypes.object,