fix big on linking to add liquidity (#505)

This commit is contained in:
Ian Lapham 2019-11-15 16:02:16 -05:00 committed by Noah Zinsmeister
parent 2c1c076d59
commit 5f8c350d86

@ -616,7 +616,9 @@ export default function AddLiquidity({ params }) {
title={t('deposit')} title={t('deposit')}
allBalances={allBalances} allBalances={allBalances}
description={isNewExchange ? '' : outputValue ? `(${t('estimated')})` : ''} description={isNewExchange ? '' : outputValue ? `(${t('estimated')})` : ''}
extraText={outputBalance && formatBalance(amountFormatter(outputBalance, decimals, Math.min(decimals, 4)))} extraText={
outputBalance && decimals && formatBalance(amountFormatter(outputBalance, decimals, Math.min(decimals, 4)))
}
selectedTokenAddress={outputCurrency} selectedTokenAddress={outputCurrency}
onCurrencySelected={outputCurrency => { onCurrencySelected={outputCurrency => {
dispatchAddLiquidityState({ type: 'SELECT_CURRENCY', payload: outputCurrency }) dispatchAddLiquidityState({ type: 'SELECT_CURRENCY', payload: outputCurrency })