react-progress-button icon indicating copy to clipboard operation
react-progress-button copied to clipboard

"this.props.state" did not clear

Open Ding-Fan opened this issue 8 years ago • 0 comments

I code this.setState({buttonState: 'error'}); It works. I can inspect this.state.currentState goes as ""->"loading"->"error"->"" But this.props.state goes as ""->"error", it freezed at "error"

Ding-Fan avatar Mar 23 '17 06:03 Ding-Fan