aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-08 03:29:37 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-12-08 03:29:37 +0800
commitb74b4eb053e9e4210dbf507fed88361741ce1d63 (patch)
tree9c77457f7c82b4e3fffed3e18d54bbc7f8f39db7 /packages/instant/src/components
parent57dc5b6fc086762d9cfedfc8adbfa55adf77fd73 (diff)
downloaddexon-sol-tools-b74b4eb053e9e4210dbf507fed88361741ce1d63.tar
dexon-sol-tools-b74b4eb053e9e4210dbf507fed88361741ce1d63.tar.gz
dexon-sol-tools-b74b4eb053e9e4210dbf507fed88361741ce1d63.tar.bz2
dexon-sol-tools-b74b4eb053e9e4210dbf507fed88361741ce1d63.tar.lz
dexon-sol-tools-b74b4eb053e9e4210dbf507fed88361741ce1d63.tar.xz
dexon-sol-tools-b74b4eb053e9e4210dbf507fed88361741ce1d63.tar.zst
dexon-sol-tools-b74b4eb053e9e4210dbf507fed88361741ce1d63.zip
feat: refactor provider name and displayName logic
Diffstat (limited to 'packages/instant/src/components')
-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 4012af646..204115fa9 100644
--- a/packages/instant/src/components/zero_ex_instant_provider.tsx
+++ b/packages/instant/src/components/zero_ex_instant_provider.tsx
@@ -38,6 +38,7 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider
props.orderSource,
networkId,
props.provider,
+ props.walletDisplayName,
);
// merge the additional additionalAssetMetaDataMap with our default map
const completeAssetMetaDataMap = {
@@ -119,7 +120,6 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider
this.props.orderSource,
state.providerState,
window,
- state.walletDisplayName,
state.selectedAsset,
this.props.affiliateInfo,
),