Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

ConfirmVotes component should check validity of second passphrase - Closes #628 #679

Merged

Conversation

yasharAyari
Copy link
Contributor

Closes #628

Copy link
Contributor

@reyraa reyraa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Yashar. Good job

@yasharAyari yasharAyari merged commit 5d763db into development Aug 29, 2017
@yasharAyari yasharAyari deleted the 628-confirmvotes-component-should-check-validity branch August 29, 2017 14:56
@@ -5,21 +5,18 @@ import { isValidPassphrase } from '../../utils/passphrase';
class SecondPassphraseInput extends React.Component {
componentDidMount() {
if (this.props.hasSecondPassphrase) {
this.props.onError(undefined, '');
this.props.onChange('');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be this.props.onChange('', '');, so that in Send dialog it doesn't show the field in red from the beginning.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants