diff options
Diffstat (limited to 'ui/app/components/token-input/token-input.component.js')
-rw-r--r-- | ui/app/components/token-input/token-input.component.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/token-input/token-input.component.js b/ui/app/components/token-input/token-input.component.js index e85436b7..4d957237 100644 --- a/ui/app/components/token-input/token-input.component.js +++ b/ui/app/components/token-input/token-input.component.js @@ -5,7 +5,7 @@ import CurrencyDisplay from '../currency-display' import { getWeiHexFromDecimalValue } from '../../helpers/conversions.util' import ethUtil from 'ethereumjs-util' import { conversionUtil, multiplyCurrencies } from '../../conversion-util' -import { DEX } from '../../constants/common' +import { DXN } from '../../constants/common' /** * Component that allows user to enter token values as a number, and props receive a converted @@ -91,15 +91,15 @@ export default class TokenInput extends PureComponent { numberOfDecimals = 2 } else { // Display ETH - currency = DEX + currency = DXN numberOfDecimals = 6 } const decimalEthValue = (decimalValue * selectedTokenExchangeRate) || 0 const hexWeiValue = getWeiHexFromDecimalValue({ value: decimalEthValue, - fromCurrency: DEX, - fromDenomination: DEX, + fromCurrency: DXN, + fromDenomination: DXN, }) return selectedTokenExchangeRate |