about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/list_adder/components/account.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/features/list_adder/components/account.jsx')
-rw-r--r--app/javascript/mastodon/features/list_adder/components/account.jsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/javascript/mastodon/features/list_adder/components/account.jsx b/app/javascript/mastodon/features/list_adder/components/account.jsx
index 1369aac07..786af3bb1 100644
--- a/app/javascript/mastodon/features/list_adder/components/account.jsx
+++ b/app/javascript/mastodon/features/list_adder/components/account.jsx
@@ -17,9 +17,6 @@ const makeMapStateToProps = () => {
   return mapStateToProps;
 };
 
-
-export default @connect(makeMapStateToProps)
-@injectIntl
 class Account extends ImmutablePureComponent {
 
   static propTypes = {
@@ -41,3 +38,5 @@ class Account extends ImmutablePureComponent {
   }
 
 }
+
+export default connect(makeMapStateToProps)(injectIntl(Account));