|
@ -1,6 +1,11 @@ |
|
|
import React from 'react'; |
|
|
import React from 'react'; |
|
|
import { translate } from '../../translate/translate'; |
|
|
import { translate } from '../../translate/translate'; |
|
|
import { toggleAddcoinModal, iguanaWalletPassphrase, createNewWallet } from '../../actions/actionCreators'; |
|
|
import { |
|
|
|
|
|
toggleAddcoinModal, |
|
|
|
|
|
iguanaWalletPassphrase, |
|
|
|
|
|
createNewWallet, |
|
|
|
|
|
iguanaActiveHandle |
|
|
|
|
|
} from '../../actions/actionCreators'; |
|
|
import Store from '../../store'; |
|
|
import Store from '../../store'; |
|
|
import { PassPhraseGenerator } from '../../util/crypto/passphrasegenerator'; |
|
|
import { PassPhraseGenerator } from '../../util/crypto/passphrasegenerator'; |
|
|
|
|
|
|
|
@ -24,6 +29,10 @@ class Login extends React.Component { |
|
|
this.handleRegisterWallet = this.handleRegisterWallet.bind(this); |
|
|
this.handleRegisterWallet = this.handleRegisterWallet.bind(this); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
componentDidMount() { |
|
|
|
|
|
Store.dispatch(iguanaActiveHandle(true)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
toggleSeedInputVisibility() { |
|
|
toggleSeedInputVisibility() { |
|
|
this.setState({ |
|
|
this.setState({ |
|
|
seedInputVisibility: !this.state.seedInputVisibility, |
|
|
seedInputVisibility: !this.state.seedInputVisibility, |
|
|