aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-18 04:31:28 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-18 05:44:40 +0800
commit32fa1bcc387e2eecae53db4b082e93f6fb09ae10 (patch)
treefd336b4ac4f8bc3565ff7066f857c751cb33dfbb /packages/instant/src/components
parent187bbc7fc14ccc0385981a38602334de65e2506c (diff)
downloaddexon-0x-contracts-32fa1bcc387e2eecae53db4b082e93f6fb09ae10.tar.gz
dexon-0x-contracts-32fa1bcc387e2eecae53db4b082e93f6fb09ae10.tar.zst
dexon-0x-contracts-32fa1bcc387e2eecae53db4b082e93f6fb09ae10.zip
export assetDataUtil big obj
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r--packages/instant/src/components/asset_amount_input.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/components/asset_amount_input.tsx b/packages/instant/src/components/asset_amount_input.tsx
index c9d9c52b3..db3dbe7f3 100644
--- a/packages/instant/src/components/asset_amount_input.tsx
+++ b/packages/instant/src/components/asset_amount_input.tsx
@@ -2,7 +2,7 @@ import { BigNumber } from '@0xproject/utils';
import * as _ from 'lodash';
import * as React from 'react';
-import { bestNameForAsset } from '../util/asset_data';
+import { assetDataUtil } from '../util/asset_data';
import { ColorOption } from '../style/theme';
import { util } from '../util/util';
@@ -26,7 +26,7 @@ export class AssetAmountInput extends React.Component<AssetAmountInputProps> {
<AmountInput {...rest} onChange={this._handleChange} />
<Container display="inline-block" marginLeft="10px">
<Text fontSize={rest.fontSize} fontColor={ColorOption.white} textTransform="uppercase">
- {bestNameForAsset(this.props.assetData, '???')}
+ {assetDataUtil.bestNameForAsset(this.props.assetData, '???')}
</Text>
</Container>
</Container>