Remove legacy decorators syntax (#18357)

This commit is contained in:
Yamagishi Kazutoshi 2023-03-24 11:17:53 +09:00 committed by GitHub
commit d1b057a0ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
137 changed files with 396 additions and 236 deletions

View file

@ -11,7 +11,6 @@ const mapStateToProps = state => ({
...state.get('picture_in_picture'),
});
export default @connect(mapStateToProps)
class PictureInPicture extends React.Component {
static propTypes = {
@ -83,3 +82,5 @@ class PictureInPicture extends React.Component {
}
}
export default connect(mapStateToProps)(PictureInPicture);