diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-07-07 01:47:01 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-07-07 01:51:46 +0800 |
commit | 49c7365d93b397d1d63fb7b155e5915c43988314 (patch) | |
tree | b7faa8247f43bd65a316dd168891701d6bdad2ea /packages/website/ts/components/eth_wrappers.tsx | |
parent | 16dc4e9f6606b977ea75a6bd2d444dcf060e1617 (diff) | |
download | dexon-0x-contracts-49c7365d93b397d1d63fb7b155e5915c43988314.tar.gz dexon-0x-contracts-49c7365d93b397d1d63fb7b155e5915c43988314.tar.zst dexon-0x-contracts-49c7365d93b397d1d63fb7b155e5915c43988314.zip |
Update token registry icons and asset picker flows
Diffstat (limited to 'packages/website/ts/components/eth_wrappers.tsx')
-rw-r--r-- | packages/website/ts/components/eth_wrappers.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/website/ts/components/eth_wrappers.tsx b/packages/website/ts/components/eth_wrappers.tsx index 20b446155..0b282b2a1 100644 --- a/packages/website/ts/components/eth_wrappers.tsx +++ b/packages/website/ts/components/eth_wrappers.tsx @@ -20,6 +20,7 @@ import { } from 'ts/types'; import { configs } from 'ts/utils/configs'; import { constants } from 'ts/utils/constants'; +import { utils } from 'ts/utils/utils'; const DATE_FORMAT = 'D/M/YY'; const ICON_DIMENSION = 40; @@ -95,7 +96,11 @@ export class EthWrappers extends React.Component<EthWrappersProps, EthWrappersSt this.props.networkId, EtherscanLinkSuffixes.Address, ); - const tokenLabel = this._renderToken('Wrapped Ether', etherToken.address, configs.ICON_URL_BY_SYMBOL.WETH); + const tokenLabel = this._renderToken( + 'Wrapped Ether', + etherToken.address, + utils.getTokenIconUrl(etherToken.symbol), + ); const userEtherBalanceInEth = !_.isUndefined(this.props.userEtherBalanceInWei) ? Web3Wrapper.toUnitAmount(this.props.userEtherBalanceInWei, constants.DECIMAL_PLACES_ETH) : undefined; |