aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/containers
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-27 05:06:36 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-27 05:06:36 +0800
commit5f6a5e28e7d2832f7372a00a7d3a388da6babb17 (patch)
treed206113de7b5c2e0ab41cec3c0231206cae99054 /packages/instant/src/containers
parentb0792a85a4d002bfe54ba228bfeadf29c89bfe09 (diff)
parent825911ed89e63f065c1a843ad83fb28ed72bb8ee (diff)
downloaddexon-sol-tools-5f6a5e28e7d2832f7372a00a7d3a388da6babb17.tar
dexon-sol-tools-5f6a5e28e7d2832f7372a00a7d3a388da6babb17.tar.gz
dexon-sol-tools-5f6a5e28e7d2832f7372a00a7d3a388da6babb17.tar.bz2
dexon-sol-tools-5f6a5e28e7d2832f7372a00a7d3a388da6babb17.tar.lz
dexon-sol-tools-5f6a5e28e7d2832f7372a00a7d3a388da6babb17.tar.xz
dexon-sol-tools-5f6a5e28e7d2832f7372a00a7d3a388da6babb17.tar.zst
dexon-sol-tools-5f6a5e28e7d2832f7372a00a7d3a388da6babb17.zip
Merge branch 'development' into feature/header-tweaks
Diffstat (limited to 'packages/instant/src/containers')
-rw-r--r--packages/instant/src/containers/connected_account_payment_method.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/instant/src/containers/connected_account_payment_method.ts b/packages/instant/src/containers/connected_account_payment_method.ts
index eacbadfca..cdeb49a25 100644
--- a/packages/instant/src/containers/connected_account_payment_method.ts
+++ b/packages/instant/src/containers/connected_account_payment_method.ts
@@ -12,6 +12,7 @@ import { Action, actions } from '../redux/actions';
import { asyncData } from '../redux/async_data';
import { State } from '../redux/reducer';
import { Network, Omit, OperatingSystem, ProviderState, StandardSlidingPanelContent } from '../types';
+import { analytics } from '../util/analytics';
import { envUtil } from '../util/env';
export interface ConnectedAccountPaymentMethodProps {}
@@ -40,8 +41,11 @@ const mapDispatchToProps = (
ownProps: ConnectedAccountPaymentMethodProps,
): ConnectedDispatch => ({
openInstallWalletPanel: () => dispatch(actions.openStandardSlidingPanel(StandardSlidingPanelContent.InstallWallet)),
- unlockWalletAndDispatchToStore: async (providerState: ProviderState) =>
- asyncData.fetchAccountInfoAndDispatchToStore(providerState, dispatch, true),
+ unlockWalletAndDispatchToStore: (providerState: ProviderState) => {
+ analytics.trackAccountUnlockRequested();
+ // tslint:disable-next-line:no-floating-promises
+ asyncData.fetchAccountInfoAndDispatchToStore(providerState, dispatch, true);
+ },
});
const mergeProps = (