aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/zero_ex_instant_provider.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-14 02:14:20 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-14 02:29:21 +0800
commit5527de62ffda68c00ae5fb68781c2e081fcc372e (patch)
tree61d3fb172de49a194bb5e5f4fe78365696818692 /packages/instant/src/components/zero_ex_instant_provider.tsx
parente8afc66a5afd65ee1ae640b43dee927ee57dceea (diff)
downloaddexon-0x-contracts-5527de62ffda68c00ae5fb68781c2e081fcc372e.tar.gz
dexon-0x-contracts-5527de62ffda68c00ae5fb68781c2e081fcc372e.tar.zst
dexon-0x-contracts-5527de62ffda68c00ae5fb68781c2e081fcc372e.zip
chore(instant): update selectedAssetAmount in the redux state to be named selectedAssetUnitAmount
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_provider.tsx')
-rw-r--r--packages/instant/src/components/zero_ex_instant_provider.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_provider.tsx b/packages/instant/src/components/zero_ex_instant_provider.tsx
index 411f118cc..e64579518 100644
--- a/packages/instant/src/components/zero_ex_instant_provider.tsx
+++ b/packages/instant/src/components/zero_ex_instant_provider.tsx
@@ -73,7 +73,7 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider
completeAssetMetaDataMap,
networkId,
),
- selectedAssetAmount: _.isUndefined(props.defaultAssetBuyAmount)
+ selectedAssetUnitAmount: _.isUndefined(props.defaultAssetBuyAmount)
? undefined
: new BigNumber(props.defaultAssetBuyAmount),
availableAssets: _.isUndefined(props.availableAssetDatas)