Remove legacy decorators syntax (#18357)
This commit is contained in:
parent
503022d6f9
commit
d1b057a0ac
137 changed files with 396 additions and 236 deletions
|
@ -67,8 +67,6 @@ const mapStateToProps = state => ({
|
|||
needsNotificationPermission: state.getIn(['settings', 'notifications', 'alerts']).includes(true) && state.getIn(['notifications', 'browserSupport']) && state.getIn(['notifications', 'browserPermission']) === 'default' && !state.getIn(['settings', 'notifications', 'dismissPermissionBanner']),
|
||||
});
|
||||
|
||||
export default @connect(mapStateToProps)
|
||||
@injectIntl
|
||||
class Notifications extends React.PureComponent {
|
||||
|
||||
static contextTypes = {
|
||||
|
@ -288,3 +286,5 @@ class Notifications extends React.PureComponent {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
export default connect(mapStateToProps)(injectIntl(Notifications));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue