about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKoala Yeung <koalay@gmail.com>2017-04-13 23:10:48 +0800
committerEugen <eugen@zeonfederated.com>2017-04-13 17:10:48 +0200
commitce80d0b0a9139052387a7f2b7ef76f6f307dd5fb (patch)
tree32611efa49199100df35c15a093bbf764f77a527
parent6327f69cab101ce1409789d7446365c4afe11aa3 (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.jsx3
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],