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
137 changed files with 396 additions and 236 deletions

View File

@ -23,8 +23,6 @@ const mapStateToProps = state => ({
hasMore: !!state.getIn(['domain_lists', 'blocks', 'next']),
});
export default @connect(mapStateToProps)
@injectIntl
class Blocks extends ImmutablePureComponent {
static propTypes = {
@ -81,3 +79,5 @@ class Blocks extends ImmutablePureComponent {
}
}
export default connect(mapStateToProps)(injectIntl(Blocks));