0
0
Fork 0

Remove legacy decorators syntax (#18357)

This commit is contained in:
Yamagishi Kazutoshi 2023-03-24 11:17:53 +09:00 committed by GitHub
parent 503022d6f9
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

@ -53,8 +53,6 @@ const mapStateToProps = (state, { status }) => ({
relationship: state.getIn(['relationships', status.getIn(['account', 'id'])]),
});
export default @connect(mapStateToProps)
@injectIntl
class StatusActionBar extends ImmutablePureComponent {
static contextTypes = {
@ -385,3 +383,5 @@ class StatusActionBar extends ImmutablePureComponent {
}
}
export default connect(mapStateToProps)(injectIntl(StatusActionBar));