diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2018-09-15 00:59:48 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-09-14 17:59:48 +0200 |
commit | 0ddbccf7e6303f3b524628e210bdba5654d5c421 (patch) | |
tree | 15f8257614fdb9c7a6bc3b74bdbd3688525f493c /app/javascript/mastodon/components/relative_timestamp.js | |
parent | 64a5561b5afe0cd125498a245f8b27ea3d4d133c (diff) |
Upgrade Babel to version 7.0.0 (#5925)
Diffstat (limited to 'app/javascript/mastodon/components/relative_timestamp.js')
-rw-r--r-- | app/javascript/mastodon/components/relative_timestamp.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/components/relative_timestamp.js b/app/javascript/mastodon/components/relative_timestamp.js index 9609714a1..57d99dd19 100644 --- a/app/javascript/mastodon/components/relative_timestamp.js +++ b/app/javascript/mastodon/components/relative_timestamp.js @@ -86,8 +86,8 @@ export const timeAgoString = (intl, date, now, year) => { return relativeTime; }; -@injectIntl -export default class RelativeTimestamp extends React.Component { +export default @injectIntl +class RelativeTimestamp extends React.Component { static propTypes = { intl: PropTypes.object.isRequired, |