When you write
onClick={this.props.handleSubmit(this.state) || this.handleSubmit}
you're calling the this.props.handleSubmit
handler immediately and setting its result as the onClick handler. I'm guessing you want to instead do a partial application, which you can do using .bind
:
onClick={this.props.handleSubmit.bind(null, this.state)}
(Also, it's probably best to explicitly pass specific state keys to the handler, or else you may end up accidentally passing internal state on as you make future changes.)