From 55c9eb3ab43d44ac5272e20d36efd064fbf63e9d Mon Sep 17 00:00:00 2001 From: Vasek Mlejnsky Date: Thu, 20 Sep 2018 14:01:33 +0200 Subject: [PATCH] Remove console warns --- src/components/modals/passphrase/Passphrase/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/modals/passphrase/Passphrase/index.js b/src/components/modals/passphrase/Passphrase/index.js index 25ab6d4d..47c4b0ed 100644 --- a/src/components/modals/passphrase/Passphrase/index.js +++ b/src/components/modals/passphrase/Passphrase/index.js @@ -141,8 +141,6 @@ export default class PinModal extends Component { } = this.state; // } = this.props.modal; - console.warn('passphrase', passphrase); - console.warn('passphraseRevision', passphraseRevision); const passphraseInputValue: string = passphrase; const passphraseRevisionInputValue: string = passphraseRevision; // if (!visible && !passphraseFocused) { @@ -152,10 +150,8 @@ export default class PinModal extends Component { // passphraseRevisionInputValue = passphraseRevision.replace(/./g, '•'); // } - console.warn('VISIBLE', visible); if (this.passphraseInput) { - console.warn('this.passphraseInput', this.passphraseInput); // this.passphraseInput.value = passphraseInputValue; // this.passphraseInput.setAttribute('type', visible || (!visible && !passphraseFocused) ? 'text' : 'password'); this.passphraseInput.setAttribute('type', visible ? 'text' : 'password'); @@ -181,7 +177,6 @@ export default class PinModal extends Component { // or // https://github.com/zakangelle/react-password-mask/blob/master/src/index.js if (input === 'passphrase') { - console.warn('PASSPHRASE CHANGE', value); this.setState(previousState => ({ match: previousState.singleInput || previousState.passphraseRevision === value, passphrase: value, @@ -307,7 +302,6 @@ export default class PinModal extends Component { //let passphraseRevisionInputType: string = visible || passphraseRevisionFocused ? "text" : "password"; const showPassphraseCheckboxFn: Function = visible ? this.onPassphraseHide : this.onPassphraseShow; - console.log('passphraseInputType', passphraseInputType); return (

Enter { deviceLabel } passphrase