about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/ui/components/follow_requests_column_link.jsx
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2023-03-24 11:17:53 +0900
committerGitHub <noreply@github.com>2023-03-24 03:17:53 +0100
commitd1b057a0ac41a5756b6a416d2f290b086cb59220 (patch)
tree80bba7bda0d18074cd255a0e079d3c92b788a737 /app/javascript/mastodon/features/ui/components/follow_requests_column_link.jsx
parent503022d6f9c6a63ff005b048d56ea0efbaec2cdc (diff)
Remove legacy decorators syntax (#18357)
Diffstat (limited to 'app/javascript/mastodon/features/ui/components/follow_requests_column_link.jsx')
-rw-r--r--app/javascript/mastodon/features/ui/components/follow_requests_column_link.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/ui/components/follow_requests_column_link.jsx b/app/javascript/mastodon/features/ui/components/follow_requests_column_link.jsx
index 8d4057782..1cd1b79bc 100644
--- a/app/javascript/mastodon/features/ui/components/follow_requests_column_link.jsx
+++ b/app/javascript/mastodon/features/ui/components/follow_requests_column_link.jsx
@@ -15,8 +15,6 @@ const mapStateToProps = state => ({
   count: state.getIn(['user_lists', 'follow_requests', 'items'], ImmutableList()).size,
 });
 
-export default @injectIntl
-@connect(mapStateToProps)
 class FollowRequestsColumnLink extends React.Component {
 
   static propTypes = {
@@ -49,3 +47,5 @@ class FollowRequestsColumnLink extends React.Component {
   }
 
 }
+
+export default injectIntl(connect(mapStateToProps)(FollowRequestsColumnLink));