Remove legacy decorators syntax (#18357)
This commit is contained in:
parent
503022d6f9
commit
d1b057a0ac
137 changed files with 396 additions and 236 deletions
|
|
@ -12,7 +12,6 @@ const mapStateToProps = state => ({
|
|||
isLoading: state.getIn(['suggestions', 'isLoading']),
|
||||
});
|
||||
|
||||
export default @connect(mapStateToProps)
|
||||
class Suggestions extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
|
|
@ -49,3 +48,5 @@ class Suggestions extends React.PureComponent {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
export default connect(mapStateToProps)(Suggestions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue