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 mapDispatchToProps = (dispatch) => ({
|
|||
},
|
||||
});
|
||||
|
||||
export default @withRouter
|
||||
@connect(null, mapDispatchToProps)
|
||||
class Header extends React.PureComponent {
|
||||
|
||||
static contextTypes = {
|
||||
|
@ -85,3 +83,5 @@ class Header extends React.PureComponent {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
export default withRouter(connect(null, mapDispatchToProps)(Header));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue