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')}
allBalances={allBalances}
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}
onCurrencySelected={outputCurrency => {
dispatchAddLiquidityState({ type: 'SELECT_CURRENCY', payload: outputCurrency })