about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/directory/components/account_card.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/features/directory/components/account_card.jsx')
-rw-r--r--app/javascript/mastodon/features/directory/components/account_card.jsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/javascript/mastodon/features/directory/components/account_card.jsx b/app/javascript/mastodon/features/directory/components/account_card.jsx
index 15c8ad303..1cee3a4e4 100644
--- a/app/javascript/mastodon/features/directory/components/account_card.jsx
+++ b/app/javascript/mastodon/features/directory/components/account_card.jsx
@@ -91,9 +91,6 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
 
 });
 
-export default
-@injectIntl
-@connect(makeMapStateToProps, mapDispatchToProps)
 class AccountCard extends ImmutablePureComponent {
 
   static propTypes = {
@@ -233,3 +230,5 @@ class AccountCard extends ImmutablePureComponent {
   }
 
 }
+
+export default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(AccountCard));