1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 22:38:27 +09:00

Fix minor jslint issue (#1697)

* Undefined propType in react component `ColumnSettings`.
  Add proper PropTypes definition.
This commit is contained in:
Koala Yeung 2017-04-13 23:10:48 +08:00 committed by Eugen
parent 6327f69cab
commit ce80d0b0a9

View File

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