logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: ce80d0b0a9139052387a7f2b7ef76f6f307dd5fb
parent: 6327f69cab101ce1409789d7446365c4afe11aa3
Author: Koala Yeung <koalay@gmail.com>
Date:   Thu, 13 Apr 2017 23:10:48 +0800

Fix minor jslint issue (#1697)

* Undefined propType in react component `ColumnSettings`.
  Add proper PropTypes definition.

Diffstat:

Mapp/assets/javascripts/components/features/notifications/components/column_settings.jsx3++-
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 @@ -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],