aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-08 04:21:06 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:19:31 +0800
commit74e07b63de9688aa0dca2ce69863203766db6008 (patch)
tree4ac62ed01568e23347d7848fccfeb09869797302 /packages/instant
parent7dd0b3a5daf2794a7714d95f8b0ff691bb6bfb13 (diff)
downloaddexon-0x-contracts-74e07b63de9688aa0dca2ce69863203766db6008.tar.gz
dexon-0x-contracts-74e07b63de9688aa0dca2ce69863203766db6008.tar.zst
dexon-0x-contracts-74e07b63de9688aa0dca2ce69863203766db6008.zip
feat: only use display name from provider in ui
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/src/containers/connected_account_payment_method.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/containers/connected_account_payment_method.ts b/packages/instant/src/containers/connected_account_payment_method.ts
index bb68fdd57..f648f0b54 100644
--- a/packages/instant/src/containers/connected_account_payment_method.ts
+++ b/packages/instant/src/containers/connected_account_payment_method.ts
@@ -58,7 +58,7 @@ const mergeProps = (
...ownProps,
network: connectedState.network,
account: connectedState.providerState.account,
- walletDisplayName: connectedState.walletDisplayName || connectedState.providerState.name,
+ walletDisplayName: connectedState.providerState.displayName,
onUnlockWalletClick: () => connectedDispatch.unlockWalletAndDispatchToStore(connectedState.providerState),
onInstallWalletClick: () => {
const isMobile = envUtil.isMobileOperatingSystem();