diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2023-03-24 11:17:53 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-24 03:17:53 +0100 |
commit | d1b057a0ac41a5756b6a416d2f290b086cb59220 (patch) | |
tree | 80bba7bda0d18074cd255a0e079d3c92b788a737 /app/javascript/mastodon/components/edited_timestamp/index.jsx | |
parent | 503022d6f9c6a63ff005b048d56ea0efbaec2cdc (diff) |
Remove legacy decorators syntax (#18357)
Diffstat (limited to 'app/javascript/mastodon/components/edited_timestamp/index.jsx')
-rw-r--r-- | app/javascript/mastodon/components/edited_timestamp/index.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/components/edited_timestamp/index.jsx b/app/javascript/mastodon/components/edited_timestamp/index.jsx index b30d88572..1513f9361 100644 --- a/app/javascript/mastodon/components/edited_timestamp/index.jsx +++ b/app/javascript/mastodon/components/edited_timestamp/index.jsx @@ -16,8 +16,6 @@ const mapDispatchToProps = (dispatch, { statusId }) => ({ }); -export default @connect(null, mapDispatchToProps) -@injectIntl class EditedTimestamp extends React.PureComponent { static propTypes = { @@ -68,3 +66,5 @@ class EditedTimestamp extends React.PureComponent { } } + +export default connect(null, mapDispatchToProps)(injectIntl(EditedTimestamp)); |