score:2

Accepted answer
export default withRouter(connect(mapStateToProps, null)(Register));

Related Query

More Query from same tag