Browse Source

moved activehandle interval to login component

all-modes
Petr Balashov 8 years ago
parent
commit
e306aa0cf2
  1. 2
      react/src/components/dashboard/coinTileItem.js
  2. 11
      react/src/components/login/login.js

2
react/src/components/dashboard/coinTileItem.js

@ -98,8 +98,6 @@ class CoinTileItem extends React.Component {
// basilisk
}
}
Store.dispatch(iguanaActiveHandle(true));
}
render() {

11
react/src/components/login/login.js

@ -1,6 +1,11 @@
import React from 'react';
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 { PassPhraseGenerator } from '../../util/crypto/passphrasegenerator';
@ -24,6 +29,10 @@ class Login extends React.Component {
this.handleRegisterWallet = this.handleRegisterWallet.bind(this);
}
componentDidMount() {
Store.dispatch(iguanaActiveHandle(true));
}
toggleSeedInputVisibility() {
this.setState({
seedInputVisibility: !this.state.seedInputVisibility,

Loading…
Cancel
Save