From ddba14fd9fa4d618b498bc39db42559e9c51905b Mon Sep 17 00:00:00 2001 From: Daniel Gonzalez Date: Mon, 15 Feb 2021 16:05:35 -0400 Subject: [PATCH] style(wallet): Cleanup Wallet View --- src/components/admin-lte/wallet/index.js | 33 ++++++++++++++---------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/src/components/admin-lte/wallet/index.js b/src/components/admin-lte/wallet/index.js index ac6c681..1e138e0 100644 --- a/src/components/admin-lte/wallet/index.js +++ b/src/components/admin-lte/wallet/index.js @@ -20,24 +20,31 @@ class Wallet extends React.Component { return ( - + {/* Show wallet info is this exists */} {_this.props.walletInfo.mnemonic && ( )} - + {/** Shows the 'create' and 'import' cards + * if there's not a wallet created + */} + {!_this.props.walletInfo.mnemonic && ( + <> + - + + + )} {this.props.importComponents}