Remove legacy decorators syntax (#18357)
This commit is contained in:
committed by
GitHub
parent
503022d6f9
commit
d1b057a0ac
@@ -20,7 +20,6 @@ const mapStateToProps = (state, { scrollKey }) => {
|
||||
};
|
||||
};
|
||||
|
||||
export default @connect(mapStateToProps, null, null, { forwardRef: true })
|
||||
class ScrollableList extends PureComponent {
|
||||
|
||||
static contextTypes = {
|
||||
@@ -365,3 +364,5 @@ class ScrollableList extends PureComponent {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default connect(mapStateToProps, null, null, { forwardRef: true })(ScrollableList);
|
||||
|
Reference in New Issue
Block a user