]> cat aescling's git repositories - mastodon.git/commitdiff
Remove unused filesAttached property.
authorDavid Yip <yipdw@member.fsf.org>
Wed, 18 Oct 2017 18:20:45 +0000 (13:20 -0500)
committerDavid Yip <yipdw@member.fsf.org>
Wed, 18 Oct 2017 18:20:45 +0000 (13:20 -0500)
app/javascript/mastodon/features/compose/components/compose_form.js

index 05ee35cf39fd6628a7e5182b095137b06224aa10..ee6b55490d9704e2b4ace879c3013fe34c53008c 100644 (file)
@@ -57,8 +57,7 @@ export default class ComposeForm extends ImmutablePureComponent {
     onPaste: PropTypes.func.isRequired,
     onPickEmoji: PropTypes.func.isRequired,
     showSearch: PropTypes.bool,
-    settings : ImmutablePropTypes.map.isRequired,
-    filesAttached : PropTypes.bool,
+    settings : ImmutablePropTypes.map.isRequired
   };
 
   static defaultProps = {
@@ -156,7 +155,7 @@ export default class ComposeForm extends ImmutablePureComponent {
   }
 
   render () {
-    const { intl, onPaste, showSearch, filesAttached } = this.props;
+    const { intl, onPaste, showSearch } = this.props;
     const disabled = this.props.is_submitting;
     const maybeEye = (this.props.advanced_options && this.props.advanced_options.do_not_federate) ? ' 👁️' : '';
     const text     = [this.props.spoiler_text, countableText(this.props.text), maybeEye].join('');
This page took 0.023319 seconds and 3 git commands to generate.