add "success" message when credential was validated, #100
This commit is contained in:
@@ -42,7 +42,7 @@ class ValidationView extends React.PureComponent {
|
||||
}
|
||||
|
||||
componentDidUpdate(prevProps, prevState) {
|
||||
// Submit code audomatically if it's received from the parent.
|
||||
// Submit code automatically if it's received from the parent.
|
||||
if (this.state.codeReceived && this.state.code != prevState.code) {
|
||||
this.props.onSubmit(this.props.credMethod, this.state.code.trim());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user