about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/status_content.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/components/status_content.jsx')
-rw-r--r--app/javascript/mastodon/components/status_content.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/components/status_content.jsx b/app/javascript/mastodon/components/status_content.jsx
index 67a487b00..8d3a80248 100644
--- a/app/javascript/mastodon/components/status_content.jsx
+++ b/app/javascript/mastodon/components/status_content.jsx
@@ -52,8 +52,6 @@ const mapStateToProps = state => ({
   languages: state.getIn(['server', 'translationLanguages', 'items']),
 });
 
-export default @connect(mapStateToProps)
-@injectIntl
 class StatusContent extends React.PureComponent {
 
   static contextTypes = {
@@ -311,3 +309,5 @@ class StatusContent extends React.PureComponent {
   }
 
 }
+
+export default connect(mapStateToProps)(injectIntl(StatusContent));