Skip to content

Conversation

@treetips
Copy link
Owner

Fix connect and withStyles syntax.

before

export const PageHeader = connect(
  mapStateToProps,
  undefined
)(withStyles(styles)(PageHeaderComponent as any))

after

export const PageHeader = withStyles(styles)(
  connect(
    mapStateToProps,
    undefined
  )(PageHeaderComponent as any)
)

@treetips treetips merged commit f21a9d7 into master Feb 18, 2019
@treetips treetips deleted the feature/fix_connect_syntax branch February 18, 2019 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants