问题 When i'm clicking submit button it requires to clicks to properly fire off the function. I didn't have problem before implementing if statements. Does it have something with fact that i have 2 if statements inside and after each click it checks only 1 if statement? onSubmit = (e) => { const { firstName, lastName, email, eventDate, validation} = this.state if (firstName, lastName, eventDate, email) { this.setState({validation: true}) if (new RegExp(/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,15}/g)