Remove legacy decorators syntax (#18357)
This commit is contained in:
committed by
GitHub
parent
503022d6f9
commit
d1b057a0ac
@@ -38,8 +38,6 @@ const mapStateToProps = (state, ownProps) => ({
|
||||
showSearch: ownProps.multiColumn ? state.getIn(['search', 'submitted']) && !state.getIn(['search', 'hidden']) : false,
|
||||
});
|
||||
|
||||
export default @connect(mapStateToProps)
|
||||
@injectIntl
|
||||
class Compose extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
@@ -148,3 +146,5 @@ class Compose extends React.PureComponent {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default connect(mapStateToProps)(injectIntl(Compose));
|
||||
|
||||
Reference in New Issue
Block a user