Fix minor jslint issue (#1697)

* Undefined propType in react component `ColumnSettings`.
  Add proper PropTypes definition.
main
Koala Yeung 2017-04-13 23:10:48 +08:00 committed by Eugen
parent 6327f69cab
commit ce80d0b0a9
1 changed files with 2 additions and 1 deletions

View File

@ -27,8 +27,9 @@ const ColumnSettings = React.createClass({
propTypes: { propTypes: {
settings: ImmutablePropTypes.map.isRequired, settings: ImmutablePropTypes.map.isRequired,
intl: ImmutablePropTypes.object.isRequired,
onChange: React.PropTypes.func.isRequired, onChange: React.PropTypes.func.isRequired,
onSave: React.PropTypes.func.isRequired onSave: React.PropTypes.func.isRequired,
}, },
mixins: [PureRenderMixin], mixins: [PureRenderMixin],