diff --git a/src/components/admin-lte/wallet/index.js b/src/components/admin-lte/wallet/index.js index fe3ef8a..4ac66d0 100644 --- a/src/components/admin-lte/wallet/index.js +++ b/src/components/admin-lte/wallet/index.js @@ -1,12 +1,12 @@ /* eslint-disable */ import React from 'react' -// import PropTypes from 'prop-types' +import PropTypes from 'prop-types' import { Content } from 'adminlte-2-react' -// import ImportWallet from './import' -// import NewWallet from './create' -// import InfoWallets from './info' -// import WalletInfo from './wallet-info' +import ImportWallet from './import' +import NewWallet from './create' +import InfoWallets from './info' +import WalletInfo from './wallet-info' let _this class Wallet extends React.Component { @@ -19,42 +19,37 @@ class Wallet extends React.Component { render() { return ( -

Wallet Component

+ {_this.props.walletInfo.mnemonic && ( + + )} + + + + + + + {this.props.importComponents}
) } } -// {_this.props.walletInfo.mnemonic &&( -// -// )} - -// - -// -// -// -// -// - - - -// Wallet.propTypes = { -// setWalletInfo: PropTypes.func.isRequired, -// walletInfo: PropTypes.object.isRequired, -// updateBalance: PropTypes.func.isRequired, -// setBchWallet: PropTypes.func.isRequired -// } +Wallet.propTypes = { + setWalletInfo: PropTypes.func.isRequired, + walletInfo: PropTypes.object.isRequired, + updateBalance: PropTypes.func.isRequired, + setBchWallet: PropTypes.func.isRequired +} export default Wallet