Remove legacy decorators syntax (#18357)
This commit is contained in:
parent
503022d6f9
commit
d1b057a0ac
137 changed files with 396 additions and 236 deletions
|
@ -22,8 +22,6 @@ const mapStateToProps = state => ({
|
|||
hasMore: !!state.getIn(['status_lists', 'favourites', 'next']),
|
||||
});
|
||||
|
||||
export default @connect(mapStateToProps)
|
||||
@injectIntl
|
||||
class Favourites extends ImmutablePureComponent {
|
||||
|
||||
static propTypes = {
|
||||
|
@ -106,3 +104,5 @@ class Favourites extends ImmutablePureComponent {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
export default connect(mapStateToProps)(injectIntl(Favourites));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue