diff options
author | Koala Yeung <koalay@gmail.com> | 2017-04-13 23:10:48 +0800 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-13 17:10:48 +0200 |
commit | ce80d0b0a9139052387a7f2b7ef76f6f307dd5fb (patch) | |
tree | 32611efa49199100df35c15a093bbf764f77a527 | |
parent | 6327f69cab101ce1409789d7446365c4afe11aa3 (diff) |
Fix minor jslint issue (#1697)
* Undefined propType in react component `ColumnSettings`. Add proper PropTypes definition.
-rw-r--r-- | app/assets/javascripts/components/features/notifications/components/column_settings.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/notifications/components/column_settings.jsx b/app/assets/javascripts/components/features/notifications/components/column_settings.jsx index 4e5fe1263..9dfc8ba8b 100644 --- a/app/assets/javascripts/components/features/notifications/components/column_settings.jsx +++ b/app/assets/javascripts/components/features/notifications/components/column_settings.jsx @@ -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], |