Remove legacy decorators syntax (#18357)
This commit is contained in:
committed by
GitHub
parent
503022d6f9
commit
d1b057a0ac
@@ -176,8 +176,6 @@ const titleFromStatus = status => {
|
||||
return `${prefix}: "${truncate(text, 30)}"`;
|
||||
};
|
||||
|
||||
export default @injectIntl
|
||||
@connect(makeMapStateToProps)
|
||||
class Status extends ImmutablePureComponent {
|
||||
|
||||
static contextTypes = {
|
||||
@@ -684,3 +682,5 @@ class Status extends ImmutablePureComponent {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default injectIntl(connect(makeMapStateToProps)(Status));
|
||||
|
||||
Reference in New Issue
Block a user