Move “export” before decorators
As this is what upstream does. See also https://github.com/tc39/proposal-decorators/issues/69
This commit is contained in:
@@ -21,9 +21,9 @@ const mapDispatchToProps = dispatch => ({
|
||||
onReset: () => dispatch(resetPinnedAccountsEditor()),
|
||||
});
|
||||
|
||||
@connect(mapStateToProps, mapDispatchToProps)
|
||||
export default @connect(mapStateToProps, mapDispatchToProps)
|
||||
@injectIntl
|
||||
export default class PinnedAccountsEditor extends ImmutablePureComponent {
|
||||
class PinnedAccountsEditor extends ImmutablePureComponent {
|
||||
|
||||
static propTypes = {
|
||||
onClose: PropTypes.func.isRequired,
|
||||
|
Reference in New Issue
Block a user