about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/poll.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/components/poll.jsx')
-rw-r--r--app/javascript/mastodon/components/poll.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/poll.jsx b/app/javascript/mastodon/components/poll.jsx
index 7efedfe34..360557d00 100644
--- a/app/javascript/mastodon/components/poll.jsx
+++ b/app/javascript/mastodon/components/poll.jsx
@@ -31,7 +31,6 @@ const makeEmojiMap = record => record.get('emojis').reduce((obj, emoji) => {
   return obj;
 }, {});
 
-export default @injectIntl
 class Poll extends ImmutablePureComponent {
 
   static contextTypes = {
@@ -234,3 +233,5 @@ class Poll extends ImmutablePureComponent {
   }
 
 }
+
+export default injectIntl(Poll);