about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/relative_timestamp.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/components/relative_timestamp.jsx')
-rw-r--r--app/javascript/mastodon/components/relative_timestamp.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/relative_timestamp.jsx b/app/javascript/mastodon/components/relative_timestamp.jsx
index 512480339..e6c3e0880 100644
--- a/app/javascript/mastodon/components/relative_timestamp.jsx
+++ b/app/javascript/mastodon/components/relative_timestamp.jsx
@@ -121,7 +121,6 @@ const timeRemainingString = (intl, date, now, timeGiven = true) => {
   return relativeTime;
 };
 
-export default @injectIntl
 class RelativeTimestamp extends React.Component {
 
   static propTypes = {
@@ -197,3 +196,5 @@ class RelativeTimestamp extends React.Component {
   }
 
 }
+
+export default injectIntl(RelativeTimestamp);