Skip to content

Commit

Permalink
Fixes elastic#12762 - Fixing propTypes to match props being passed
Browse files Browse the repository at this point in the history
  • Loading branch information
simianhacker committed Jul 12, 2017
1 parent 1f149de commit 4f6bebd
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/core_plugins/metrics/public/components/vis_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,10 @@ class VisEditor extends Component {
}

VisEditor.propTypes = {
fields: PropTypes.object,
model: PropTypes.object,
onBrush: PropTypes.func,
onChange: PropTypes.func,
onCommit: PropTypes.func,
onToggleAutoApply: PropTypes.func,
vis: PropTypes.object,
visData: PropTypes.object,
dirty: PropTypes.bool,
autoApply: PropTypes.bool
appState: PropTypes.object,
renderComplete: PropTypes.func,
};

export default VisEditor;

0 comments on commit 4f6bebd

Please sign in to comment.