about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2017-10-18 13:20:45 -0500
committerDavid Yip <yipdw@member.fsf.org>2017-10-18 13:20:45 -0500
commit39c9cdf7fe71d3c19efc7c461a91a7a16b177260 (patch)
tree52064ed15106d7187d3adf27dd4319f6bdf650dd /app
parent86cf4468afe3f75b5017fb5b90f2b25e93b895c4 (diff)
Remove unused filesAttached property.
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/features/compose/components/compose_form.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/javascript/mastodon/features/compose/components/compose_form.js b/app/javascript/mastodon/features/compose/components/compose_form.js
index 05ee35cf3..ee6b55490 100644
--- a/app/javascript/mastodon/features/compose/components/compose_form.js
+++ b/app/javascript/mastodon/features/compose/components/compose_form.js
@@ -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('');