Show eth balance in add eth balance onboarding step

This commit is contained in:
fragosti
2018-06-28 17:34:29 -07:00
parent 512980d9bd
commit 467e9abf5f
3 changed files with 16 additions and 11 deletions

View File

@@ -97,13 +97,7 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp
target: '.wallet',
title: 'Step 1: Add ETH',
content: (
<AddEthOnboardingStep
hasEth={
!_.isUndefined(this.props.userEtherBalanceInWei)
? this.props.userEtherBalanceInWei.gt(0)
: false
}
/>
<AddEthOnboardingStep userEthBalanceInWei={this.props.userEtherBalanceInWei || new BigNumber(0)} />
),
placement: 'right',
continueButtonDisplay: this._userHasVisibleEth() ? 'enabled' : 'disabled',