about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/privacy_policy
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/features/privacy_policy')
-rw-r--r--app/javascript/mastodon/features/privacy_policy/index.jsx (renamed from app/javascript/mastodon/features/privacy_policy/index.js)3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/privacy_policy/index.js b/app/javascript/mastodon/features/privacy_policy/index.jsx
index 3df487e8f..d5bbda6a3 100644
--- a/app/javascript/mastodon/features/privacy_policy/index.js
+++ b/app/javascript/mastodon/features/privacy_policy/index.jsx
@@ -10,7 +10,6 @@ const messages = defineMessages({
   title: { id: 'privacy_policy.title', defaultMessage: 'Privacy Policy' },
 });
 
-export default @injectIntl
 class PrivacyPolicy extends React.PureComponent {
 
   static propTypes = {
@@ -59,3 +58,5 @@ class PrivacyPolicy extends React.PureComponent {
   }
 
 }
+
+export default injectIntl(PrivacyPolicy);