From ce80d0b0a9139052387a7f2b7ef76f6f307dd5fb Mon Sep 17 00:00:00 2001 From: Koala Yeung Date: Thu, 13 Apr 2017 23:10:48 +0800 Subject: [PATCH] Fix minor jslint issue (#1697) * Undefined propType in react component `ColumnSettings`. Add proper PropTypes definition. --- .../features/notifications/components/column_settings.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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],