about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/picture_in_picture_placeholder.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/components/picture_in_picture_placeholder.jsx
parent503022d6f9c6a63ff005b048d56ea0efbaec2cdc (diff)
Remove legacy decorators syntax (#18357)
Diffstat (limited to 'app/javascript/mastodon/components/picture_in_picture_placeholder.jsx')
-rw-r--r--app/javascript/mastodon/components/picture_in_picture_placeholder.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/picture_in_picture_placeholder.jsx b/app/javascript/mastodon/components/picture_in_picture_placeholder.jsx
index 0effddef9..c8aa8f757 100644
--- a/app/javascript/mastodon/components/picture_in_picture_placeholder.jsx
+++ b/app/javascript/mastodon/components/picture_in_picture_placeholder.jsx
@@ -6,7 +6,6 @@ import { connect } from 'react-redux';
 import { debounce } from 'lodash';
 import { FormattedMessage } from 'react-intl';
 
-export default @connect()
 class PictureInPicturePlaceholder extends React.PureComponent {
 
   static propTypes = {
@@ -67,3 +66,5 @@ class PictureInPicturePlaceholder extends React.PureComponent {
   }
 
 }
+
+export default connect()(PictureInPicturePlaceholder);