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:
Thibaut Girka
2019-09-09 15:16:08 +02:00
committed by ThibG
parent 0014a32c19
commit f2b307af25
59 changed files with 118 additions and 118 deletions

View File

@ -24,8 +24,8 @@ const mapStateToProps = (state, props) => ({
hasMore: !!state.getIn(['user_lists', 'followers', props.params.accountId, 'next']),
});
@connect(mapStateToProps)
export default class Followers extends ImmutablePureComponent {
export default @connect(mapStateToProps)
class Followers extends ImmutablePureComponent {
static propTypes = {
params: PropTypes.object.isRequired,