Merge branch 'master' into dh-copy-visual

This commit is contained in:
Chris Troutner
2021-02-15 15:38:17 -08:00
2 changed files with 22 additions and 14 deletions
+20 -13
View File
@@ -20,24 +20,31 @@ class Wallet extends React.Component {
return ( return (
<Content> <Content>
<InfoWallets /> <InfoWallets />
{/* Show wallet info is this exists */}
{_this.props.walletInfo.mnemonic && ( {_this.props.walletInfo.mnemonic && (
<WalletInfo walletInfo={_this.props.walletInfo} /> <WalletInfo walletInfo={_this.props.walletInfo} />
)} )}
<NewWallet {/** Shows the 'create' and 'import' cards
updateBalance={_this.props.updateBalance} * if there's not a wallet created
setWalletInfo={_this.props.setWalletInfo} */}
setBchWallet={_this.props.setBchWallet} {!_this.props.walletInfo.mnemonic && (
walletInfo={_this.props.walletInfo} <>
/> <NewWallet
updateBalance={_this.props.updateBalance}
setWalletInfo={_this.props.setWalletInfo}
setBchWallet={_this.props.setBchWallet}
walletInfo={_this.props.walletInfo}
/>
<ImportWallet <ImportWallet
updateBalance={_this.props.updateBalance} updateBalance={_this.props.updateBalance}
setWalletInfo={_this.props.setWalletInfo} setWalletInfo={_this.props.setWalletInfo}
setBchWallet={_this.props.setBchWallet} setBchWallet={_this.props.setBchWallet}
walletInfo={_this.props.walletInfo} walletInfo={_this.props.walletInfo}
/> />
</>
)}
{this.props.importComponents} {this.props.importComponents}
</Content> </Content>
+2 -1
View File
@@ -28,7 +28,8 @@ class InfoWallets extends React.Component {
<p> <p>
This is an open source, non-custodial web wallet This is an open source, non-custodial web wallet
supporting Bitcoin Cash (BCH) and SLP tokens. Web wallets supporting Bitcoin Cash (BCH) and SLP tokens. Web wallets
offer user convenience, by they are inherently insecure.{' '} offer user convenience, but they are inherently insecure and
bad for privacy.{' '}
<b>Storing large amounts of money on a web wallet is not <b>Storing large amounts of money on a web wallet is not
recommended! recommended!
</b> </b>