Toggling div visibility onClick in React

I’m trying to toggle the display of this div on

click, but it’s not working and I’ve been stuck for a minute. Any suggestions?

img1 imge2

Add Comment
1 Answer(s)

use onClick={()=>this.generateSSO(min,max)} instead of onClick={this.generateSSO(min,max)}

Answered on July 16, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.